Build HTTP requests visually and generate ready-to-use code in cURL, JavaScript fetch, Python requests, and PHP curl — with auth helpers and JSON body formatter.
Fill in the fields or paste your input text. Click Sample to load an example and see the tool in action.
Press the main button to process your input. Results appear instantly — all processing runs in your browser, no upload needed.
Check the output panel. Any errors are shown in a red bar with a clear description so you can fix the input quickly.
Click Copy to copy to clipboard, or Download to save the result as a file.
An HTTP request is a message sent from a client (browser, app, or script) to a server, asking it to perform an action. It includes a method (GET, POST, etc.), a URL, optional headers, and an optional body.
GET requests retrieve data and should not change server state. GET parameters go in the URL. POST requests submit data (in the request body) and are used to create or update resources.
A Bearer token is an access token used for API authentication. It is sent in the Authorization header as "Authorization: Bearer your-token-here". Most modern APIs use Bearer tokens for authentication.
Basic auth sends a username and password encoded in Base64 in the Authorization header. It should always be used over HTTPS. The format is "Authorization: Basic base64(username:password)".
Different developers use different tools and languages. Generating cURL, JavaScript fetch, Python requests, and PHP curl from the same request definition saves time and eliminates transcription errors.
Yes. All code generation happens in your browser. Nothing you enter is ever sent to our servers. However, never share generated code that contains real API keys — redact them before sharing.