API

REST API Request Builder

Generate a request summary, cURL command and Fetch code from explicit REST request fields without sending them.

Keep this tool in your workbenchReport a problem

Loading API controls…

Browse the API station →

What does this tool do?

Generate a request summary, cURL command and Fetch code from explicit REST request fields without sending them. Inputs: Method, URL, Query parameters, Headers, Body type, Body. Outputs: Request summary, cURL command, JavaScript Fetch code.

How to use it?

Enter method, url, query parameters, headers, body type, body, then choose “Generate”. Copy cURL or Copy Fetch copies that exact code. Clear releases inputs/results and resets options.

All processing is local. This tool does not send network requests, execute cURL, evaluate JavaScript or run GraphQL operations. Generated code and response markup are inert text. Inputs are not logged, saved or added to the route.

Generate only. GET/HEAD bodies produce a warning and are omitted from executable Fetch/cURL output; review the summary. Form body is already URL-encoded text.