π¦ ClawHub
curl-to-postman
by @liuliwanzi
Convert curl commands to Postman Collection v2.1 importable JSON
π‘ Examples
Input:
curl -X POST https://api.example.com/users \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ***" \
-d '{"name":"John","email":"john@example.com"}'
Output: Postman Collection v2.1 JSON ready to import.
π Tips & Best Practices
Content-Type is set but a body is present, defaults to application/jsonquery arrayTERMINAL
clawhub install curl-to-postman