</> ConvertAtlas Developer Tools
Web

curl Cheatsheet

The curl flags for making and debugging HTTP requests from the terminal — invaluable for testing APIs. Pair it with the HTTP headers and status code references.

Basic requests

Simple GET request.
Specify the HTTP method.
Include response headers in output.
Verbose — show the full exchange.

Headers & data

Add a request header.
Send a JSON body.
Send form-encoded data (implies POST).
Upload a file as multipart.

Auth & redirects

HTTP basic authentication.
Bearer token auth.
Follow redirects.
Send a cookie.

Output & downloads

Save output to a named file.
Save using the remote filename.
Silent — hide progress meter.
Print just the status code.