{"ok":true,"result":{"slug":"curl-converter","name":"curl Converter","summary":"Convert a curl command into equivalent code: JavaScript fetch, Node.js axios, Python requests, Go net/http, PHP curl or HTTPie. Handles headers, -d/--data*, -F forms, -u auth and common flags; unsupported options come back as warnings.","description":"Convert curl commands to JavaScript fetch, Node axios, Python requests, Go net/http, PHP curl or HTTPie. Handles headers, data, forms, auth and cookies in your browser.","method":"POST","endpoint":"/api/v1/tools/curl-converter","plan":"free","mcpName":"curl_converter","input":{"type":"object","additionalProperties":false,"properties":{"command":{"type":"string","description":"The curl command, as copied from a terminal or browser dev tools (line continuations allowed).","maxLength":100000},"target":{"type":"string","description":"Output language: fetch (JavaScript fetch), axios (Node.js axios), python (Python requests), go (Go net/http), php (PHP curl), httpie (HTTPie).","default":"fetch","enum":["fetch","axios","python","go","php","httpie"],"maxLength":200000}},"required":["command"]},"example":{"command":"curl -X POST https://api.example.com/v1/items -H 'Content-Type: application/json' -H 'Authorization: Bearer TOKEN' -d '{\"name\":\"Widget\"}'","target":"python"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/curl-converter","page":"https://pithlab.com/tools/curl-converter"}}