General dev

HTTP Request Builder

Runs locally

Use HTTP Request Builder

What it does

Write an HTTP request as a curl command or a fetch() call without sending it, for example to document where a phishing kit posts the form data it collects.

It runs entirely in your browser: nothing you enter is uploaded.

Example

Form endpoint as curl

Input
https://example.com/api/collect.php
Output (captured 2026-10-20)
curl -X GET 'https://example.com/api/collect.php' \
  -H 'Content-Type: application/json'

With the default GET method and Content-Type header the result is curl -X GET 'https://example.com/api/collect.php' -H 'Content-Type: application/json'. Choose POST and add a body to reproduce a form submission.

FAQ

What goes into the curl command?

The method after -X, the URL in single quotes, one -H flag for every header line that contains a colon and, for any method except GET, the body after -d. The fetch() button writes the same request as JavaScript.

Are quotes and special characters escaped?

No. Values are placed inside single quotes exactly as typed, so a single quote in the URL, a header or the body breaks the shell command; replace it with '\'' first. The fetch() version wraps the body in JSON.stringify(), so it only works for a JSON body.

Does the tool send the request or upload anything?

No. It only writes text in your browser: nothing is sent to the URL and nothing is uploaded. If you replay a phishing kit's endpoint yourself, do it from an isolated machine.