mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
Fix a mistake in cryptography
This commit is contained in:
parent
ab07e88640
commit
dc1b8c7447
|
|
@ -101,7 +101,7 @@ const signatureBase64 = btoa(
|
||||||
|
|
||||||
The request can then be sent with the `Signature`, `Origin` and `Date` headers as follows:
|
The request can then be sent with the `Signature`, `Origin` and `Date` headers as follows:
|
||||||
```ts
|
```ts
|
||||||
await fetch("https://example.com/users/uuid/inbox", {
|
await fetch("https://receiver.com/users/22a56612-9909-48ca-84af-548b28db6fd5/inbox", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue