URL, HTTP & APIs

HTTP Request Builder

Describe a request — method, URL, query parameters, headers, and body — and get the exact HTTP/1.1 message plus a ready-to-run cURL command. Everything is generated in your browser; nothing is sent anywhere.

Runs in your browser v1.0.0

Request

live

Resolved URL

Examples

Query parameters

0

Headers

0

Host is added automatically from an absolute URL. JSON and form bodies get a Content-Type unless you set one yourself.

Body

None

Generated request


                    

    Reading the preview

    The message uses origin-form for absolute URLs: the request target is the path and query string, and Host carries the authority, exactly as it appears on the wire. Query values are percent-encoded, and header values with line breaks are rejected to prevent header injection.

    How it works

    The builder validates your inputs, merges query parameters into the URL, normalises headers, validates JSON bodies, and renders the final request in your chosen format. Invalid or unsupported combinations produce a clear message instead of a broken preview. Your request never leaves this page.