HTTP Request Builder — Raw & cURL

Assemble a request from method, URL, headers and body, then take it away as a raw HTTP message or as a cURL command ready to paste in a terminal.

How to use

  1. Pick the method and enter the URL.
  2. Add headers and a request body.
  3. Copy the raw request or the cURL command.

Frequently asked questions

Why produce a raw HTTP message?

Because it is what actually goes over the wire. Reading it is the quickest way to spot a missing header or a body that is not shaped the way you assumed.

Can I paste the cURL command straight into a terminal?

Yes, it comes out escaped and ready to run. It is also the format most API docs and bug reports expect when someone asks you to reproduce a call.

Does it send the request?

No, it only builds it. That keeps credentials you type here out of any network call this page could make.

How do I add authentication?

As a header, usually Authorization with a Bearer token. Build it here, then move the token to an environment variable before the command goes anywhere shared.

Last updated

Powered by maratool