What this does
curl is the standard command-line tool for making HTTP requests, but you can't always reach a terminal β you might be on a locked-down machine, a phone, or simply want to check an API quickly. Paste the command here and CurlOK runs it from our server and shows you the full response.
The command is parsed, never executed as a shell command, so only the curl flags listed below have any effect.
Supported flags
-X,--requestβ set the HTTP method-H,--headerβ add a request header-d,--data,--data-raw,--data-binary,--data-urlencodeβ send a body-u,--userβ HTTP basic auth-Auser agent,-ereferer,-bcookies-Gput data in the query string,-IHEAD request,-Lfollow redirects
Anything unrecognised is ignored with a note rather than failing the whole command.
What isn't allowed, and why
Because the request leaves our server rather than your machine, some things are refused outright:
- Local files.
-d @file,-Fuploads,-K,-o,--certβ anything that reads or writes a file on the server. - Private addresses. Requests to
localhost, private ranges, and cloud metadata addresses are blocked, on the first request and on every redirect. - Other protocols. Only
http://andhttps://. - Insecure TLS.
-kis ignored β certificates are always verified.
Related tools
Need to see what something is sending you? Create a free endpoint and inspect the requests it receives. Working with a response body? Try the JSON Formatter or XML Formatter.