mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
parent
d91c6b624e
commit
bc652cadc4
@ -64,6 +64,8 @@ curl -X POST \
|
|||||||
|
|
||||||
### JSON {#json}
|
### JSON {#json}
|
||||||
|
|
||||||
|
*JavaScript Object Notation* as defined in ECMA-404. Quick one page overview: https://www.json.org/
|
||||||
|
|
||||||
Similar to sending form data, but with an additional header to specify that the data is in JSON format. To send a JSON request with cURL, specify the JSON content type with a header, then send the JSON data as form data:
|
Similar to sending form data, but with an additional header to specify that the data is in JSON format. To send a JSON request with cURL, specify the JSON content type with a header, then send the JSON data as form data:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user