DevKit Tools

API Client

Send GET, POST, PUT, PATCH and DELETE requests with custom headers and body. Requests go through our server, so CORS never blocks you.

Test/API Client

Send any HTTP request and inspect the full response. Requests go through this site's server, so CORS never blocks you.

About the api client

Testing an API from the browser normally hits CORS: the target server has to explicitly allow your origin, and most do not. This client sends the request from our server instead, so the browser's cross-origin rules never apply.

You get the full response back: status, timing, size, every header and the body, with JSON pretty-printed automatically.

How to use it

  1. 1Choose the method and enter the URL.
  2. 2Add headers, toggling any you want to disable temporarily.
  3. 3For POST and PUT, add a body and use Format JSON to tidy it.
  4. 4Send, then read the status, timing and response.
  5. 5Switch to the headers tab to inspect what came back.

Questions

Why do I get CORS errors in my own code but not here?

Because the request here is made by our server, where cross-origin rules do not exist. In browser JavaScript the target server must send permissive CORS headers.

Can I call an API on my own machine?

No. Requests to localhost and private network addresses are blocked, because the request comes from our server and that would expose internal services.

Is my request data stored?

No. The request is proxied and the response returned. Nothing is logged or retained.

More API & Testing tools