Enter the request URL
Use an absolute HTTP or HTTPS URL. Select the request method and add any headers the endpoint requires.
Build a shell-safe cURL command from a URL, method, headers and optional body.
Your result will appear here
Build a command for a POSIX shell from a URL, method, headers and optional body.
How it works
Use an absolute HTTP or HTTPS URL. Select the request method and add any headers the endpoint requires.
Choose raw text or valid JSON for POST, PUT, PATCH, DELETE or another request that needs a body. HEAD requests cannot include a body. JSON adds a Content-Type header unless you supplied one. Set a timeout from 1 to 120 seconds.
The tool creates POSIX shell text only. Review the URL, headers and body, then run it yourself if appropriate. It never makes the request.
FAQ
1. Enter the request URL: Use an absolute HTTP or HTTPS URL. Select the request method and add any headers the endpoint requires. 2. Add an optional body and timeout: Choose raw text or valid JSON for POST, PUT, PATCH, DELETE or another request that needs a body. HEAD requests cannot include a body. JSON adds a Content-Type header unless you supplied one. Set a timeout from 1 to 120 seconds. 3. Review and copy the command: The tool creates POSIX shell text only. Review the URL, headers and body, then run it yourself if appropriate. It never makes the request.
GET, HEAD, POST, PUT, PATCH and DELETE.
Each argument is enclosed in POSIX shell single quotes, with embedded quotes escaped safely. Bodies use --data-raw so a leading @ is sent as text rather than treated as a file.
No. It only creates text in your browser. Review the command and destination before running it in your own terminal.
HTTP(S) URLs only; at most 50 headers, 100 KB of headers and 100 KB of body; timeout from 1 to 120 seconds. Credentials in URLs and line breaks in header values are rejected.
Keep going
Validate, pretty-print, or minify JSON.
Encode text to Base64 or decode it back.
Create MD5, SHA-1, SHA-256 and SHA-512 digests.
Generate random RFC 4122 version 4 UUIDs.
Decode a JSON Web Token header and payload.
Test a regular expression against sample text.