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
curl and jq 8 · Making requests
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
Was this page helpful?