HTTP Request Builder
Build an HTTP request and convert it to curl, fetch, axios, Python requests, Go, and raw HTTP text
Query parameters
Authentication
About this tool
Build an HTTP request interactively — pick a method, enter a URL, add headers, query parameters, a request body, and authentication — and get ready-to-use code for curl, fetch, axios, Python requests, Go, and a raw HTTP request. Everything updates live as you type, so you can copy the snippet you need without hand-writing it.
Example: a POST to https://api.example.com/users with a JSON body {"name":"Ada"} and a Bearer token produces a curl command starting curl -X POST -H "Authorization: Bearer …" -H "Content-Type: application/json" -d '{"name":"Ada"}' https://api.example.com/users and an equivalent fetch() call with the same headers and body.
Use it to share a reproducible request with a teammate, drop a snippet into a script or test, or compare how the same request looks across languages.
FAQ
Does this tool send the request? ›
No. It only generates code and raw request text from the fields you fill in. Nothing is sent anywhere — paste the generated snippet into your own terminal, script, or test to actually run the request.
How are query parameters handled? ›
Parameters you add under "Query parameters" are appended to the URL in every generated snippet. They are URL-encoded automatically, so values with spaces or special characters are safe.
What body types are supported? ›
JSON, plain text, and URL-encoded form data. Selecting JSON adds a "Content-Type: application/json" header automatically unless you set one yourself. Form data is generated as key=value pairs.
Can I share a request I have built? ›
Yes. Click Share to copy a link that encodes the method, URL, headers, body, and auth into the URL. Anyone opening the link sees the same request ready to copy.
How is this different from the Curl → Code tool? ›
This tool builds an HTTP request from a form and generates curl (and other code) as output. The Curl → Code tool works in the opposite direction — you paste an existing curl command and it converts it into Python, JavaScript, Go, or Rust code.