Build a request
Method, headers and body as a command, a request file or a table of its parts.
curl to code
Loadingβ¦
This tool failed to start
It needs WebAssembly and WebGL. Please update your browser or enable hardware acceleration, then reload.
Loadingβ¦
It needs WebAssembly and WebGL. Please update your browser or enable hardware acceleration, then reload.
All tools βΊ Requests and interfaces
A command as the same request in six languages, with the token masked by default.
It runs entirely in this browser tab: the code you paste is never uploaded, and nothing here is executed, built or fetched β it is read and something else is written. Open your browser's network panel and try it.
One curl command, pasted whole β the backslash line breaks a copied command carries are part of it.
curl -X POST https://api.example.com/orders \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer abc123' \
-d '{"item": "tea", "quantity": 2}'
Build a request
Method, headers and body as a command, a request file or a table of its parts.
WHERE clause
Rules as a clause with the values kept outside it, which is the only safe way to write one.
Sample answer
A shape of fields as a JSON answer, repeatable from a seed and never mistaken for data.
Read a specification
An OpenAPI document as the endpoints, parameters, answers and models it offers.
Format a query
A query indented or minified, with its variables named and its braces counted.
Read a schema
Types and fields listed, and which type is named by which β the question a schema is opened for.