Skip to content
  1. Home
  2. Developer
  3. HTTP Request Builder

HTTP Request Builder

Describe a request once and copy it as cURL, JavaScript fetch or Python requests code.

cURL

JavaScript fetch

Python requests

This tool only writes code. It never sends the request. Use placeholders instead of real secrets when sharing code.

How it works

Fill in the method, URL, headers and body. The three code boxes update as you type, so you can copy a request straight into a terminal, a script or a bug report. Header lines use the form Name: value. A bearer token adds an Authorization header unless you already wrote one.

Nothing is sent from this page, so there is no cross-origin restriction and no risk of triggering a real API call. Bodies are included for POST, PUT, PATCH and DELETE when the body box is not empty.

Frequently asked questions

Does this send the request?

No. It only generates code. Run the code yourself to send a request.

Is it safe to paste a real token?

The token stays in your browser, but use a placeholder if you will share the generated code.

Why is the body missing for GET?

GET and HEAD requests normally carry no body, so the body box is ignored for them.