HTTP Request Builder

Build an HTTP request with a form — pick a method, type a URL, add headers, body, basic auth, query params — then copy the result as a cURL command, a fetch() call, a Python requests snippet, a Go net/http snippet, or a Node https snippet. Pure client-side, no upload.

Target — method and URL
scheme
host
port
path
query
fragment
Query parameters
Headers
Basic auth — adds an Authorization header
Body — shown for methods that allow it
Code snippet
 

How this works
  • Method + URL. The URL preview is parsed live and split into scheme, host, port, path, query, and fragment so you can see exactly what the server will see.
  • Query parameters. Rows in this section are merged into the URL before it is sent. They override any matching keys already on the URL.
  • Headers. Free-form. Case is preserved but duplicates are de-duplicated case-insensitively. A Content-Type is added automatically when the body kind implies one — if you set your own, yours wins.
  • Basic auth. Fills an Authorization: Basic … header. Leave both fields empty to skip it. An explicit Authorization header in the list overrides this.
  • Body. Pick the shape — none, raw text, JSON, multipart form, or URL-encoded form. JSON is validated on every keystroke; multipart form fields become -F / files= flags instead of a body string.
  • Code snippets. cURL is the most common ask; fetch(), Python requests, Go net/http, and Node https are included as one-click alternatives.
  • Nothing leaves your browser. The whole builder runs in a single inline script.