Skip to content
M2TOOLKIT

HTTP Request Builder

Turn an API request into working code in your language.

  • Free
  • No sign-up
  • Runs in your browser
Query parameters
Headers
Auth
Body
Language

The request isn't sent — this builds code you can run yourself, so tokens never leave your browser. Avoid committing real tokens to source control.

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us.

How to use the HTTP Request Builder

  1. Enter the method, URL, parameters and headers.
  2. Add a bearer token or basic auth and a JSON, form or text body.
  3. Copy the code for cURL, fetch, Axios, Python or HTTPie.

What does this tool do?

The builder escapes everything correctly for each language — shell quoting for cURL, JSON.stringify for fetch, json= for Python requests — and URL-encodes query parameters. The request is never sent from this page, so tokens stay in your browser.

Everything runs in your browser — nothing you paste is uploaded.

Why use it?

  • Five languages.
  • Auth helpers.
  • Correct escaping.

Privacy

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the http request builder.