should be easy to augment relays with REST endpoints right?

Reply to this note

Please Login to reply.

Discussion

Sure

So send the REQ in a JSON payload I assume

https://github.com/rust-nostr/nostr-rest/blob/master/src/handler.rs

I liked the way is done here just send the event in the body for publishing an event or send the filters in the body when getting events

Could also have a /event/id endpoint