mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-09-19 22:35:50 -04:00
add information about Authorization event.
This commit is contained in:
parent
6a9f0d2ff0
commit
fe5ce66e73
4
86.md
4
86.md
|
@ -82,3 +82,7 @@ This is the list of **methods** that may be supported:
|
|||
* `listblockedips`:
|
||||
- params: `[]`
|
||||
- result: `[{"ip": "<ip-address>", "reason": "<optional-reason>"}, ...]`, an array of objects
|
||||
|
||||
### Authorization
|
||||
|
||||
The request must contain an `Authorization` header with the value set to `Nostr <base64(auth-event)>` in which `<auth-event>` is an event of kind `27235` with a tag `["u", <url-of-the-relay-being-called>]` and a tag `["payload", <sha256-hash-of-the-request-body-as-lowercase-hex>]` and `created_at` set to the current timestamp.
|
||||
|
|
Loading…
Reference in New Issue
Block a user