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-208 min

API Authentication with curl

2026-02-1812 min

Debugging HTTP Requests

2026-02-1510 min

Working with JSON APIs

2026-02-1215 min

Master HTTP with curl

From simple GET requests to complex API integrations.

Start Now