curl Wiki
The comprehensive guide to curl and HTTP requests. From basics to advanced API testing.
$ curl -X GET https://api.example.com/data
Quick Examples
GET RequestBasic GET request
$ curl https://api.example.com/users
POST with JSONSend JSON data
$ curl -X POST -H "Content-Type: application/json" -d '{"name":"John"}' https://api.example.com/users
With HeadersAdd custom headers
$ curl -H "Authorization: Bearer token123" https://api.example.com/me
Download FileSave to file
$ curl -O https://example.com/file.zip
Recent Guides
View all →Understanding HTTP Methods
2026-02-20•8 min
API Authentication with curl
2026-02-18•12 min
Debugging HTTP Requests
2026-02-15•10 min
Working with JSON APIs
2026-02-12•15 min