Build HTTP request

Build an HTTP request preview with method, URL, headers, authentication, and body.

freeworks offlinenothing uploaded
ToolHTTP Request Builder
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Method, URL, query, headers, cookies, authentication, and body are serialized into a request preview or curl command. Header names remain case-insensitive and body encoding follows the selected content type.

  • GET is a safe inspection default.
  • HTTPS is the common secure scheme.

Worked example

POST Request as cURL
Build a POST request with JSON body and auth header in cURL format
Input
											URL: https://api.example.com/users
Method: POST
Headers: {"Content-Type":"application/json","Authorization":"Bearer token123"}
Body: {"name":"Alice"}
Query params: 
Format: curl
										
Output
												curl \
  -X POST \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer token123' \
  -d '{"name":"Alice"}' \
  'https://api.example.com/users'
											

When to use this

API debugging, support tickets, and integration-test setup build HTTP requests.

Edge cases

  • GET bodies are not portable.
  • JSON needs a matching Content-Type.
  • Copied Authorization headers can leak through shell history.

References