API Request Builder
Developer ToolsSend API requests and copy cURL or fetch code
The request is sent straight from your browser, so the API must allow CORS. Do not put secret keys of production systems here.
curl -X GET 'https://jsonplaceholder.typicode.com/posts/1' \ -H 'Accept: application/json'
const res = await fetch("https://jsonplaceholder.typicode.com/posts/1", {
"method": "GET",
"headers": {
"Accept": "application/json"
}
});
const data = await res.json();Embed this tool on your websiteFree
- Choose how tall the frame should be.
- Press Copy code.
- Paste it into your page, blog, WordPress or Notion HTML block.
The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.
Similar tools you may like
History
All history →API Request Builder — at a glance
Send API requests and copy cURL or fetch code.
How to use it — step by step
Just your input — nothing to install or sign up for.
Enter the request
Pick GET, POST or another method and type the URL.
Add headers and body
One header per line. Add a JSON body for POST, PUT and PATCH.
Press Send
The request is sent from your browser.
Copy the code
Use the generated cURL or fetch snippet in your project.
Pro tips
Small things that make the result better.
Quick facts
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.

