HTTP Client

Send a request from your own browser and read the reply. It goes straight to the address you type, never through YappyKit. Many APIs refuse requests from web pages, and this page tells you when that happens.

How it works

You fill in a request: the method, the URL, headers, optional Basic authentication and a body. When you press Send, your browser makes the request with fetch(), the same way any web page would. It goes from your device straight to the server you named. YappyKit has no server in the middle and never sees the request or the reply.

Because a web page sends it, the browser's rules apply. The main one is CORS. A page may read a reply from another website only if that website says so, with an Access-Control-Allow-Origin header. Many APIs do not say so. Then the browser hides the reply from this page, and you see a message that explains it instead of a response.

The page sends no cookies and no Referer, and it does not use the browser cache. It follows redirects and shows the address the reply finally came from. A JSON reply is indented so you can read it.

How to use it

  1. 1 Pick the method and type the full URL, starting with https://.
  2. 2 Add the headers the API needs, such as Authorization or Content-Type, and a body if the method takes one.
  3. 3 Press Send. Press Stop if the server takes too long.
  4. 4 Read the status, the time, the headers and the body. If the browser blocked the request, the page says which rule it was.

Good to know

  • If an API blocks this page, the request may still work from a terminal. Open the Request Code Generator, fill in the same request and copy it as cURL. curl is not a browser, so CORS does not apply to it.
  • A secure page cannot request an http:// address, except localhost. Use the https:// address if the site has one.
  • Browsers do not let a page set some headers, such as Cookie, Host, Origin, Referer and Content-Length. If you add one, the page tells you it was not sent.
  • A GET or HEAD request cannot carry a body in a browser. If you type one, the page leaves it out and says so.
  • For a reply from another website, the browser shows this page only a few headers, such as Content-Type and Content-Length, unless the server lists more in Access-Control-Expose-Headers. The server may have sent more than you see.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Why an API answers curl but not a web page: CORS by example

Start with a request that works. You type https://api.example.com/items, leave the method on GET and press Send. Your browser sends the request with one extra header it adds by itself, Origin: https://yappykit.com, which names the page that asked. The server replies 200 with a JSON list and the header Access-Control-Allow-Origin: *. The star means any web page may read this reply, so the browser hands it to the page. You see the status, the time it took, the size, and the body indented for reading.

Now call a server that does not send that header. The request leaves your browser and reaches the server, and the server replies as usual. But the reply has no Access-Control-Allow-Origin, so the browser will not let this page read it. The page gets only a generic failure, the same one it would get for a wrong address or a server that is down. Browsers do this on purpose. If a page could tell those failures apart, it could map the machines on your local network. So the page says what is most likely and points you to the developer tools console, where the browser does name the reason.

Some requests are checked before they are sent. Suppose you send PUT https://api.example.com/items/7 with the headers Authorization: Bearer abc123 and Content-Type: application/json. A PUT, an Authorization header and a JSON content type each make the request one that needs permission first. The browser sends an OPTIONS request with Access-Control-Request-Method: PUT and Access-Control-Request-Headers: authorization,content-type. Only if the server replies with Access-Control-Allow-Methods and Access-Control-Allow-Headers that cover both does the browser send the real PUT. If the server does not, the PUT never leaves your device. A plain GET, or a POST with a form body, has no such check. It is sent, and only the reply is hidden. So a POST that this page reports as blocked may still have done its work on the server.

None of this applies outside a browser. curl, Python and Go do not send an Origin header and do not check Access-Control headers, so the same API that refuses this page answers them. That is why "it works in curl" is so often true and so little help. If an API you own blocks this page, the fix is on the server: return Access-Control-Allow-Origin for the origins you trust, and answer the OPTIONS preflight. If it is someone else's API, open the Request Code Generator, fill in the same request, and run the cURL version in a terminal.

The page has other limits worth knowing. It sends no cookies, so it cannot use a session you are logged into elsewhere. A secure page cannot call an http:// address other than localhost. The browser drops headers it does not let pages set, such as Cookie, Host and Content-Length, and the page names any it dropped. For a reply from another site, you see only the headers the server chose to expose. A binary reply, such as an image, is reported by its size but not shown as text. And the time shown is measured in the browser, from sending the request to the last byte of the reply, so it includes your own connection.

Frequently asked questions

Does my request go through YappyKit?

No. Your browser sends it straight to the URL you typed, and the reply comes straight back to your browser. YappyKit has no server that could relay or log it. The server you call does see your IP address and an Origin header that names this site, as it would for any web page.

Why do I get "The browser blocked the response or could not reach the server"?

Most often it is CORS: the server did not send an Access-Control-Allow-Origin header that allows this page, so the browser hid the reply. It can also be a wrong address, a server that is down or a certificate error. The browser gives a page the same bare failure for all of these, on purpose, so a page cannot probe your network. The console in the developer tools (F12) shows the exact reason.

If the response was blocked, did the server still get my request?

It may have. For a plain GET, or a POST with a form or text body and no custom headers, the browser sends the request and only hides the reply. So a blocked POST can still create a record. Other requests, such as PUT or DELETE, or anything with an Authorization header or a JSON Content-Type, start with an OPTIONS "preflight" request. If the server does not approve the preflight, the real request is never sent.

Is it safe to type an API key or a password here?

The key goes only to the server you named, inside the request, and over https it is encrypted on the way. YappyKit does not store the form or send it anywhere. Remember that the server owner can see what you send, so only send a key to the API it belongs to.

Can I send cookies or call an API that uses my logged-in session?

No. This page sends requests without cookies, so it cannot act as you on another site. Send a token in an Authorization header instead, if the API supports one.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.