Demo: turn cURL into request details
cURL commands are compact but hard to review when they include headers, query strings, auth, and JSON bodies. Parsing them makes API documentation and debugging clearer.
- Separate method, URL, headers, query, and body.
- Mask authorization headers before sharing.
- Use the parsed request to create docs or test cases.
curl -X POST https://api.example.com/orders \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data-raw "{"sku":"A1","qty":2}"