Configure your HTTP request and convert it to various command-line formats.
Request Configuration
Request Headers
Response
Command Line Code
Convert your request to various command-line formats:
Bash (curl)
PowerShell
Windows CMD
PowerShell 7
Content-Type Cheat Sheet
Common Content-Type headers for HTTP API requests. Click on any content type to add it to your request
headers.
๐งฑ Structured Data
application/json
application/xml
application/x-www-form-urlencoded
multipart/form-data
๐๏ธ Text-Based
text/plain
text/html
text/css
text/csv
text/xml
๐ผ๏ธ Media / Binary
application/octet-stream
image/png
image/jpeg
application/pdf
๐งช API-Specific / Advanced
application/graphql
application/ld+json
application/vnd.api+json
application/merge-patch+json
application/x-ndjson
๐๏ธ Misc Form Encodings
application/x-www-form-json
multipart/mixed
Use this tool to build API requests and convert them to various command-line formats.
Configure your request above, then click "Generate Code" to see the equivalent command-line code.