API Workbench (HTTP Client)

Send HTTP requests and inspect responses (CORS-limited; optional proxy).

The API Workbench is an HTTP client in the page. Choose a method, enter a URL, add headers, query parameters, a body and optional authentication, send the request and read the status, headers and body of the response. It can also copy the request as a curl command.

What is an HTTP client and how does this one send requests?

An HTTP client builds a request and shows the server's reply. A request is a method (GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS), a URL, headers and sometimes a body. The reply has a status code, response headers and a body. This workbench builds the request from its tabs (Headers, Query params, Body, Auth): query rows are appended to the URL with correct percent-encoding, an Authorization header is made from the Auth tab, and a Content-Type is added for JSON, text or form bodies unless you set one yourself. Requests go to the URL you enter. By default the browser sends them directly with fetch, so the normal browser rules apply, including CORS: a page can only read a cross-origin response if that server allows it. As an alternative, a server relay can send the request for you, but it is off unless the server operator has enabled it, and the request then passes through that server.

How to use API Workbench (HTTP Client)

  1. Set the method and URL Pick a method from the Method list and type the URL. Pressing Enter in the URL field sends the request.
  2. Fill in the request tabs Use Headers and Query params to add name and value rows, Body to choose None, JSON, Text or Form (urlencoded), and Auth to choose None, Bearer token or Basic.
  3. Choose how to send Keep Send directly from the browser, or pick Send through the server relay if it is enabled. Set the Timeout in seconds (1 to 300, default 30). While waiting you can press Cancel.
  4. Read the response Check the status, time and size, switch between Pretty, Raw and Headers, and use Copy body to copy the response text.
  5. Reuse or export Use Copy as curl for a command line version, click a History entry to load it again, and tick the remember option only if you want history kept in this browser.

Frequently asked questions

Where is my request sent?

To the URL you enter, and nowhere else by design. In direct mode the browser sends it straight to that server. In relay mode it goes to the NerdDeveloper server first, which forwards it. The workbench does not claim your requests stay local, because sending them is its purpose.

Why does a request fail here but work in curl or a desktop client?

Browsers enforce the same-origin policy and CORS. A page may only read a cross-origin response if the server sends suitable Access-Control headers; curl and desktop clients do not apply this rule. Some headers are also controlled by the browser and cannot be set from a page.

What is the server relay and when is it available?

It is an optional service that sends the request from the NerdDeveloper server instead of your browser, which avoids CORS limits. It is disabled by default on the server. The tool asks the server for its status when the page loads and disables the Send through the server relay option, with an explanation, if the relay is off or cannot be reached.

What can the relay operator see, and what does the relay refuse?

The operator can see the URL, headers (including any Authorization value) and body of every relayed request, as the on-screen warning says, so do not relay secrets you are not willing to share. The relay accepts only http and https URLs without embedded credentials, refuses localhost, .local and .internal names and any address that resolves to a private, loopback, link-local or otherwise non-public address, follows at most 3 redirects, limits the request body to 200,000 bytes and the response to 1,000,000 bytes, allows 10 seconds per call, and limits each client to 20 relay requests per minute. These are the server's current defaults; the operator can change them.

Is my history stored?

By default history lives only in memory and disappears when you close or reload the page. If you tick Remember history in this browser (no credentials stored), the list is saved in this browser's local storage, and unticking it removes the saved copy. Saved and reloaded entries have the values of Authorization, Proxy-Authorization, Cookie and X-Api-Key headers cleared, plus the bearer token and the Basic password. Other headers, the URL, the query values and the body are saved as typed, so keep secrets out of those. The list holds the most recent 30 requests, and Clear history empties it.

Are large responses shown in full?

Display is capped at 1,000,000 characters; longer bodies are cut and a notice says so. The relay applies its own 1,000,000 byte limit and shows binary content only as a placeholder with its size.