curl and jq 8 · Making requests

POST JSON

Send a JSON body with the correct content type.

curl -X POST https://api.example.com/users -H "Content-Type: application/json" -d '{"name":"Ada"}'

Official curl and jq 8 documentation

More making requests commands

All making requests commands · curl and jq 8 cheatsheet

Was this page helpful?