Skip to content

Commit 6578db2

Browse files
committed
fix: correct curl command syntax in API documentation
1 parent 47b9544 commit 6578db2

File tree

1 file changed

+7
-7
lines changed
  • i18n/es/docusaurus-plugin-content-docs/current

1 file changed

+7
-7
lines changed

i18n/es/docusaurus-plugin-content-docs/current/5-API.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -620,20 +620,20 @@ webhook=https://anotherwebhook.com
620620
621621
```sh
622622
$ curl -X POST https://webhook.site/aaaaaaaa-bbbb-xxxx-yyyy-zzzz \
623-
--header \'accept: application/json\' \
624-
--header \'accept-charset: UTF-8\' \
625-
--header \'content-type: application/json\' \
626-
--header \'host: webhook.site\' \
627-
--header \'X-Phoenix-Signature: 91a8735c0cc3cfc4bb0f22044dcac78f2b67ed3935261f1564b78f971a015f2d\' \
628-
--data $\'{\
623+
--header 'accept: application/json' \
624+
--header 'accept-charset: UTF-8' \
625+
--header 'content-type: application/json' \
626+
--header 'host: webhook.site' \
627+
--header 'X-Phoenix-Signature: 91a8735c0cc3cfc4bb0f22044dcac78f2b67ed3935261f1564b78f971a015f2d' \
628+
--data $'{
629629
"type": "payment_received",
630630
"timestamp": 1748269006918,
631631
"amountSat": 1,
632632
"paymentHash": "7db610f2b418394f12ba84927868a4b98e6bca6a82dd644c905f4f0c257d336a",
633633
"externalId": null,
634634
"payerNote": null,
635635
"payerKey": null
636-
}\'
636+
}'
637637
```
638638
639639
## Autenticación de Webhook

0 commit comments

Comments
 (0)