#nosdav pastebin

https://nosdav.github.io/pastebin/

Reply to this note

Please Login to reply.

Discussion

it doesn't seem to do anything with signatures, right? it's just saving as a kv using a string as the index?

Both of these lines (notice the last character of the hex pubkey) worked

```

curl 'https://nosdav.nostr.rocks/fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52/paste.txt' \

-X 'PUT' \

-H 'Authorization: Nostr fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52' \

-H 'Origin: https://nosdav.github.io' \

-H 'Referer: https://nosdav.github.io/' \

--data-raw 'test1' \

--compressed

curl 'https://nosdav.nostr.rocks/fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f53/paste.txt' \

-X 'PUT' \

-H 'Authorization: Nostr fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f53' \

-H 'Origin: https://nosdav.github.io' \

-H 'Referer: https://nosdav.github.io/' \

--data-raw 'test1' \

--compressed

```