Send a JSON POST request
Sends the JSON body in a POST request with the matching Content-Type header.
curl -H 'Content-Type: application/json' -d 'json' https://example.com/apiEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)