Tools / HTTP Request Builder

HTTP Request Builder

Build a request and copy it as curl, fetch, Python requests or Node. Query parameters, headers, auth and body are checked as you type. Nothing is sent until you press Send, and the code is built in this tab.

Import a curl command

Request

Query parameters (name=value, one per line)

Headers (Name: value, one per line)

Auth

Body

Send makes a real request from your browser to the URL above. Browsers block some calls (CORS), and a blocked call says so. Copying code sends nothing.

Checks

Code

The code contains your auth value and body exactly as typed. Do not paste it where others can read it.

Response

What is inside

What is inside the tool.

Seven methods

GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS. A body on GET or HEAD is left out of the code, and the tool says so.

URL and query parameters

Enter one key=value per line. Names and values are percent-encoded and added to any query already in the URL. A fragment is kept. A line with no = is flagged.

Header checks

A line with no colon, a name with illegal characters, control characters in a value and repeated names are flagged. Headers a browser will not let a page set, such as Host, are listed in the code and called out for Send.

Bearer and Basic auth

Basic uses UTF-8 before base64, so a name or password with accents works. A colon in the username is refused because it cannot be encoded.

JSON, form and raw bodies

JSON is parsed and flagged if invalid. Form lines are encoded as application/x-www-form-urlencoded. Raw is sent as typed. Content-Type is added when you did not set one, and the tool tells you.

Four code tabs

curl, fetch, Python requests and Node. Each one has Copy and Download. Quotes, apostrophes, newlines, dollar signs and Unicode are escaped for that language.

Send, with a disclosure

Send makes one request from your browser. It states that the request leaves your device, shows the status and body, and explains a blocked request. A request with problems is not sent.

How to use it

Four steps.

Step 1

Choose the method and paste the URL.

Step 2

Add query parameters, headers, auth and a body. Read the checks under the form.

Step 3

Pick a language tab and press Copy or Download.

Step 4

Press Send only if you want the browser to make the request now.

What it cannot do

Limits.

Send is limited by the browser

A page can only read a response when the server allows it with CORS. When Send fails the tool says the outcome is unknown. A simple request can reach the server even though the page cannot read the answer. If the browser had to ask permission first and was refused, the real request was not sent. The page cannot tell which, so check the server log or use the curl tab.

Forbidden headers are not sent

Browsers ignore headers such as Host. They stay in the generated code so curl and Python can use them.

Repeated headers differ by tool

curl sends each repeated header as its own line. fetch, Node, Python requests and Send join them into one header with a comma and a space, and the code says so. Some servers treat the two forms differently. The tool flags every repeat.

Not a full client

No OAuth flows, cookie jar, file upload, multipart bodies, environments or saved collections.

Credentials are in the code

Bearer tokens and Basic passwords appear in plain text in the snippets. Do not paste real secrets into a shared screen or ticket.

Other clients not run

Only curl, Python requests and Node fetch were run. The tool does not generate code for other languages.

What it does

Features and functions.

Runs inA browser tab
Body typesNone, JSON, form, raw
AuthBearer, Basic
Code snippetscurl, fetch, Python requests, Node
Import a curl commandPaste a curl command and every field fills in
Request checks before sendingYes, listed above

Common mistakes

Each of these produces a check.

JSON with a trailing comma

The body is flagged as invalid JSON and no code is produced until it is fixed.

Sending a body with GET

Most servers ignore it. The body is left out and the tool says so.

Basic auth with a colon in the username

The format cannot carry it, so the tool refuses.

A key pasted into the URL

Query values are encoded, but the key still sits in the URL and in logs. Prefer a header when the API allows it.

Forgetting Content-Type

The tool adds it for JSON and form bodies and says it did.

Raw body, no Content-Type

Nothing is added, because the tool cannot know the type.

Questions

Before you ask.

Is anything sent while I build?

No. Only the Send button makes a request.

Why did Send fail but curl works?

The server probably does not allow cross-origin reads. The request may or may not have reached it. Run the curl snippet.

Why is Host not sent?

Browsers do not allow a page to set it.

Are my credentials stored?

No. They stay in the page and in the code you copy.

What does it cost?

Nothing. No account.

Your data

What stays on your device.

Building and generating code run in this browser tab. Nothing is sent until you press Send, and then the request goes from your browser straight to the URL you entered. Your credentials appear in the generated code, so treat it like a secret.

Try it

Build the request, then copy the code

Open HTTP Request Builder
A laptop, headphones, a camera, a phone and a plant on a white desk, seen from above, banner image on the HTTP Request Builder page

Try it now.

HTTP Request Builder runs in your browser. No account needed.

HTTP Request Builder

See it at work

Free HTTP request builder in your browser: methods, query parameters, headers, Bearer and Basic auth, JSON, form and raw bodies, with request checks and code fo

HTTP Request Builder
Fields
API
CLI
url
method
query
headers
auth
hiringsai tool http-request-builder
url string
method GET
query string
headers string
9 fields, 1 required
curl -X POST https://hiringsai.com/api/v1/tools/http-request-builder/run
-d '{"input": {"url": "<text>"}}'
JSON result
hiringsai run http-request-builder --input '{"url": "<text>"}'
also callable over MCP
JSON result printed
Free toolAPI and MCPNo account
Fields
urlstring
methodGET
querystring
headersstring
Ways to use it
pagethis app
APIPOST .../run
CLIhiringsai run
MCPtools/call
API call
POST /api/v1/tools/http-request-builder/run
input: {"url": "<text>"}
JSON result back
Command line
hiringsai run http-request-builder
--input <json>
JSON result printed
The HTTP Request Builder page as it opens
HTTP Request Builder9 fields
The page as it opens, captured from the live site.
The HTTP Request Builder app at phone width
HTTP Request Builderphone layout
The same app at phone width.
A laptop glowing in a dark room
HTTP Request BuilderFree tool
Free HTTP request builder in your browser: methods, query parameters, headers, Bearer and Basic auth, JSON, form and raw bodies, with request checks and code fo
A laptop showing a web search on a table
HTTP Request BuilderAPI and MCP
Call it from a script over the API or MCP.