Test common API validation and auth failures.
Section: cURL Debugging Patterns
Send JSON and inspect response
bash
bash
curl -i -X POST https://example.com/api/users -H 'Content-Type: application/json' -d '{"name":"Ada"}'Explanation
A good baseline for reproducing 400, 401, 403, 415, 422, and 429 responses.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing cURL Debugging Patterns