HTTP Request Builder

Send live API requests and generate curl, fetch, axios snippets.

Support
Works Offline
Privacy First
No Login
No API

Requests go straight from your browser first. If the API blocks cross-origin calls, the request is retried through our fetch relay so you still get the response — avoid sending private credentials to APIs that need the relay.

Headers

Body

Environment variables

Use {{name}} anywhere in the URL, headers or body

Variables stay in this browser only. Resolved URL: https://api.github.com/repos/facebook/react

Collection

Save requests you use often

  • Nothing saved yet.

History

Your last 25 sent requests, stored in this browser

  • No requests sent yet.

cURL

Shell
curl -X GET \
  'https://api.github.com/repos/facebook/react' \
  -H 'Content-Type: application/json'

fetch

fetch("https://api.github.com/repos/facebook/react", {
  method: "GET",
  headers: {
  "Content-Type": "application/json"
}
})
  .then((res) => res.json())
  .then(console.log);

axios

axios({
  method: "get",
  url: "https://api.github.com/repos/facebook/react",
  headers: {
  "Content-Type": "application/json"
}
});

Python requests

Python
import requests

response = requests.get("https://api.github.com/repos/facebook/react", headers={"Content-Type":"application/json"})
print(response.status_code, response.text)

HTTPie

http GET https://api.github.com/repos/facebook/react \
  Content-Type:application/json

Capture real responses from any site with API Inspector

Our free browser extension lists every API request a page makes — JSON, XML, CSV, HTML and media — and opens each one in the right Coders Hub tool with a single click.

Get the extension

About the HTTP Request Builder

Build an HTTP request with method, URL, headers and body, then send it directly from your browser and inspect the status code, timing, response headers and pretty-printed body. The same request is also exported as ready-to-run curl, fetch, axios, Python requests and HTTPie snippets. Requests go straight from your tab to the API — no proxy, no server, no logging — so cross-origin endpoints must return CORS headers for the browser to expose the response.

Examples

GET request

GET https://api.example.com/users

Output

Shellcurl -X GET 'https://api.example.com/users'

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Read more

Version 2.0.0 · Updated 2026-08-13 · Runs entirely in your browser