Build an HTTP request and get it as cURL, fetch, Axios, PHP or Python code.
The HTTP request generator builds the code for an API call in five languages at once: a cURL command, JavaScript with fetch and with Axios, PHP with cURL and Python with requests. Set the method, URL, headers and a JSON, form or raw body.
It's the quickest way to turn API documentation into working code, or to share a request with a teammate who uses another language.
cURL, fetch, Axios, PHP and Python.
Encoded correctly, with the Content-Type.
The code updates while you type.
Every snippet in a code editor.
No, the tool only writes the code. Use the webhook tester to see a real request.
The values are wrapped in single quotes and inner quotes are escaped for Bash.
Yes, add an Authorization header such as Bearer YOUR_TOKEN.