☰
Home
/
Productivity
/
HTTP Snippet Generator
🌐
HTTP Snippet Generator
curl / fetch / axios / Python code
☆
Bookmark
Loading tool…
Request
GET
POST
PUT
PATCH
DELETE
HEAD
OPTIONS
Headers (Key: Value per line)
Content-Type: application/json Authorization: Bearer your-token
Body (JSON)
{ "name": "Ada Lovelace", "email": "ada@example.com" }
Code snippet
cURL
fetch (JS)
axios
Python
Go
⧉ Copy
curl -X POST 'https://api.example.com/users' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer your-token' \ -d '{ "name": "Ada Lovelace", "email": "ada@example.com" }'