Local HTTP Request Constructor

Build an HTTP request and see its raw wire form, its header classification, its CORS-preflight prediction and generated code. It builds locally and sends nothing: this is a request constructor, not a client.

This is generated in browser and is not sent to pah.moi servers.

About this tool3 paragraphs

The header classification is honest about the browser: it says which headers you can set, which ones the browser controls and silently overrides, and which ones it forbids outright, each with its Fetch-spec reason. The CORS preflight prediction names exactly what would trigger an OPTIONS probe and prints the probe it implies.

Method, URL, query parameters, headers, six body kinds (including multipart form-data and a referenced binary file) and a full set of client controls (timeout, redirect, credentials, cache) are all covered. A picked file is referenced by name, size and type only. Its bytes are never read.

Generated code comes out as curl, HTTPie, JS fetch, PowerShell, Rust reqwest, Python requests, raw HTTP or a Markdown report.

Use it locally This tool has a native command line twin. Build http-cli from the site's source with:
cargo build --release --bin http-cli
Source and licence terms