Skip to main content

Request

Headers
curl
Response

Press Send to run the request from your browser.

Sending happens in your browser, so -v, -k and browser-controlled headers (User-Agent, Host, Cookie) do not apply.

Free tool by GoodAI

cURL Builder: Build, Send and Save API Requests

Fill in the method, URL, headers and body and get a ready-to-paste cURL command. Send the request straight from your browser, switch the output to fetch or Python, and reopen earlier requests from the history panel.

How to build a cURL command

Pick a method, enter the URL, add headers and an optional body. The command updates as you type. Single quotes in values are escaped for you, so the result can be pasted into bash or zsh as it is.

Tick JSON Content-Type to add the header Content-Type: application/json without typing it. If you already added your own Content-Type header, it is not duplicated.

Common cURL options

  • -X sets the HTTP method. It is left out for a plain GET.
  • -H adds a request header.
  • -d sends the request body.
  • -v prints request and response details, useful for debugging.
  • -k accepts self-signed certificates. Use it only for servers you trust.
  • -L follows redirects.

Send the request and read the response

The Send button runs the request in your browser with fetch and shows the status, time, size, headers and body. JSON responses are pretty printed. Browsers only allow cross-origin requests when the server sends CORS headers, so some APIs will fail here even though the same cURL command works in a terminal. In that case copy the command and run it locally.

History and export

Commands you copy or send are saved in the history panel on the left, stored only in this browser. Click an entry to load it again. The same request can also be exported as JavaScript fetch code or as a Python requests call.

Related JSON tools

Frequently asked questions

Is my request sent to your server?+

No. Requests go from your browser directly to the URL you enter, and the history stays in your browser's local storage. Nothing is sent to or stored on our servers.

Why does Send fail with a network or CORS error?+

Browsers block cross-origin requests unless the target server allows them with CORS headers. cURL has no such restriction, so copy the command and run it in a terminal. Requests to http:// addresses from this https:// page are also blocked by the browser.

Are -v and -k applied when I press Send?+

No. Those flags only change the cURL command. Browsers also control some headers themselves, such as User-Agent, Host and Cookie, so those cannot be overridden when sending from the page.

Can I send a body with GET?+

cURL allows it, so the command is generated. Browsers do not allow a body on GET or HEAD requests, so Send will report an error in that case.

Looking for AI tools with demo videos?

Browse GoodAI