HTTP request generator
Generate curl and fetch snippets from method, URL, headers, and body
Request
Fill in the request details; outputs update as you type
Snippets
Copy-paste into a terminal or your code
curl
curl -sS \
-X GET \
"https://api.example.com/v1/resource" \
-H "Accept: application/json"fetch (browser / Node 18+)
await fetch("https://api.example.com/v1/resource", {
method: "GET",
headers: {
"Accept": "application/json",
},
})