API Workbench

Query parameters

None set.

Export

curl -X GET 'https://httpbin.org/get'

Browser API debugging examples

A browser request exposes the same CORS and mixed-content boundaries that frontend application code must satisfy.

Public JSON GET

GET https://jsonplaceholder.typicode.com/posts/1

A CORS-enabled endpoint should return a readable 200 JSON response in the workbench.

Preflighted JSON POST

POST /items
Content-Type: application/json

The browser may send an OPTIONS preflight before the POST; the server must allow the origin, method, and headers.

Common mistakes

  • Treating a browser network error as proof that the server returned an HTTP error.
  • Saving or sharing requests before removing credentials and sensitive body data.
  • Expecting a browser tool to bypass CORS or private-network restrictions.

Examples and guidance reviewed .

FAQ

See also: