API Request Builder

Developer Tools

Send API requests and copy cURL or fetch code

FreePrivateInstant
Method
URL
Headers — one per line (Name: value)
Add a file · .txt .md .csv .json … · up to 2.00 MB

The request is sent straight from your browser, so the API must allow CORS. Do not put secret keys of production systems here.

cURL
curl -X GET 'https://jsonplaceholder.typicode.com/posts/1' \
  -H 'Accept: application/json'
JavaScript fetch
const res = await fetch("https://jsonplaceholder.typicode.com/posts/1", {
  "method": "GET",
  "headers": {
    "Accept": "application/json"
  }
});
const data = await res.json();

Similar tools you may like

History

All history →

API Request Builder — at a glance

Send API requests and copy cURL or fetch code.

Your request
POST /posts
{ "title": "hello" }
Send
Result
201 Created
Response JSON
cURL + fetch code

How to use it — step by step

Just your input — nothing to install or sign up for.

1

Enter the request

Pick GET, POST or another method and type the URL.

2

Add headers and body

One header per line. Add a JSON body for POST, PUT and PATCH.

3

Press Send

The request is sent from your browser.

4

Copy the code

Use the generated cURL or fetch snippet in your project.

Pro tips

Small things that make the result better.

✦If it fails with a network error, the API probably blocks browser requests (CORS) — use the CORS Tester to check.
✦Do not paste production secrets.

Quick facts

Freeno signup, no limit
Instantresult in a moment
Privatenothing is uploaded
Any devicephone, tablet or PC

Frequently Asked Questions

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

Is this tool really free?+

Yes — completely free, no signup, no watermark and no usage limit.

More Free Tools