What is a webhook tester?
A webhook tester checks that a webhook works — that a service can send an event to a URL and that the URL receives it. A webhook is a reverse API call: instead of your code asking a service for data, the service pushes data to your code the moment something happens, such as a payment completing or an order being placed. To test one, you need a URL that can receive the push, and a way to send a test push.
This page gives you both halves, honestly. It opens webhook.site, a free service that gives you a unique URL to receive webhooks, in a new tab. And it builds a curl command from your inputs — the target URL, the method, and the JSON payload — that you can run in a terminal to send a test request. The default builds a 137-character POST command for a test event.
The reason the page works this way is a plain limit of browsers. A browser page cannot listen on a port and receive incoming webhooks, and most servers refuse requests from browser pages because of CORS, the cross-origin rule that blocks web pages from calling other sites freely. So the test itself runs on webhook.site, not on this page — and this page says so, instead of pretending otherwise.
Everything this page does runs in your browser. The curl command is built from your inputs right here, nothing is uploaded, and nothing is stored. The receiving end lives on webhook.site, which is a separate free service, and the sending end is your own terminal, running the curl command you copy from this page.
How a webhook tester works
The flow has three steps. First, press the button and webhook.site opens in a new tab. It shows you a unique URL, something like https://webhook.site/abc-123-def, and a blank inbox. That URL is yours for the session, and anything sent to it appears in the inbox within a second or two.
Second, copy the unique URL from webhook.site and paste it into the target URL box on this page. Pick a method — POST is the usual one for webhooks, GET is for a simple check, and PUT works for updates. Type or paste the JSON payload you want to send. The default payload is {"event": "test", "message": "Hello from Sortrun"}, which is a typical small event.
Third, press the button again and copy the curl command this page builds. For the defaults it is: curl -X POST -H "Content-Type: application/json" -d '{"event":"test","message":"Hello from Sortrun"}' https://webhook.site/your-unique-id — 137 characters. Paste that command into a terminal and run it. Then look at the webhook.site tab: the request should appear, with its headers, its body, and the time it arrived.
The results box on this page shows the request status, the method, the host of the target URL, and the length of the curl command in characters. Those numbers describe the command, not the delivery — delivery is confirmed only on webhook.site, where the request actually lands.
The inputs, and what each one means
The target URL is the address the test request is sent to. It should be the unique URL that webhook.site gave you, such as https://webhook.site/abc-123-def. The tool checks that it is a real http or https URL, and shows Not a valid URL if it is not. A bare word, or a URL with the wrong scheme, fails that check — which is the tool telling you the curl command would fail too.
The method is the HTTP verb: GET, POST, or PUT. Webhooks almost always use POST, because they carry a body. GET sends no body and is useful for a quick check that the URL answers at all. PUT is for updates, and it carries a body like POST. The curl command changes with the method: a GET command is short, at 44 characters for the example URL, while a POST command carries the headers and the data flag.
The payload is the JSON body of the request — the event itself. A real payment webhook might send {"order_id": 101, "status": "paid"}, which this page turns into a 114-character PUT command for the example URL. Keep the payload valid JSON: a missing quote or a trailing comma makes the body invalid, and the receiving end will show you the broken body exactly as it arrived, which is itself useful debugging.
The curl command length is shown because it is the one number that proves the command was built from your inputs. The default POST command is 137 characters, the example GET is 44, and the example PUT is 114. If you change the payload and the length does not change, something is wrong — but it always does, because the command is built fresh on every press.
A worked example: testing a payment webhook
Imagine a shop that gets a webhook when an order is paid. The shop's code listens for an event with an order id and a status of paid. Before going live, the developer wants to see exactly what such an event looks like. They open webhook.site, copy the unique URL, and paste it into this page as the target.
They set the method to PUT and the payload to {"order_id": 101, "status": "paid"}, with the target https://webhook.site/xyz-999. The page builds the command: curl -X PUT -H "Content-Type: application/json" -d '{"order_id":101,"status":"paid"}' https://webhook.site/xyz-999 — 114 characters. They paste it into a terminal and run it.
On the webhook.site tab, the request appears at once: method PUT, path /xyz-999, the content-type header, and the body {"order_id": 101, "status": "paid"} exactly as sent. That is the whole test. The developer now knows the shape of the event, and can write the shop's code to read order_id and status from it.
Now the simple case: the defaults. Method POST, target https://webhook.site/your-unique-id, payload {"event": "test", "message": "Hello from Sortrun"}. The command is 137 characters, the host is webhook.site, and the status reads Ready. Run it, and the test event lands in the webhook.site inbox. If it does not appear, the problem is the network or the URL, not the tool — the command is printed in full, so you can see exactly what was sent.
Who tests webhooks, and why
Developers test webhooks before they go live. A payment webhook that is never tested is a shop that finds out about a bug from an angry customer, not from a test. Testing with webhook.site first means the first real event arrives at code that has already seen the shape of the data.
Support teams use a webhook tester to reproduce a problem. A customer says the integration never fired; the team sends a test event through webhook.site and watches it land, which separates a problem in the sender from a problem in the receiver in under a minute.
Learners use it to understand how the web pushes data. Most web traffic is pull — a browser asks, a server answers. Webhooks are push — a server sends, and your code receives. Seeing an event arrive in an inbox, with its headers and body, makes the difference concrete in a way that reading about it never does.
For the rest of the toolkit, the companions are nearby. An API tester checks the request before you send it. An JSON formatter reads the payload cleanly. An HTTP status checker explains the status the receiver sends back. And a URL encoder decoder handles the encoding when a payload travels inside a URL.
Webhook tester vs API tester
A webhook tester and an API tester answer different questions. An API tester checks whether a request to a service is well-formed — whether the URL is valid and the method is set. A webhook tester checks whether an event actually arrives at a receiving URL, and what it looks like when it does.
The difference is the direction. An API call goes out from your code to a service. A webhook comes in from a service to your code. Testing the first needs a client; testing the second needs a listener, and a browser page cannot be a listener — which is why this page hands the receiving job to webhook.site instead of pretending it can do it itself.
A DNS checker is the third companion: if the webhook never arrives, the first thing to check is whether the receiving domain resolves at all. Together the three tools cover the whole path — the request, the delivery, and the address it was sent to.
The workflow is simple: test the shape of the event here, watch it land on webhook.site, then point the real service at your real receiving URL. The tester proves the event; your code proves the handling.
Common webhook mistakes
The most common mistake is testing against a URL that cannot receive anything — a localhost address, or a page that only serves web pages. A webhook needs a live endpoint. That is exactly what webhook.site is for: a real, public URL that shows you what arrived.
Second: sending the wrong content type. A server that expects JSON and receives form data will often fail silently, or reject the request with an error that looks unrelated. The curl command this page builds always sets Content-Type: application/json for POST and PUT, so the body is read as JSON at the other end.
Third: forgetting that browsers cannot receive webhooks. A page that claims to test webhooks entirely inside the browser is either only building a command, like this one, or it is not telling you the truth. The test runs where the receiving happens — on webhook.site — and the browser page is only the place where the command is built.
Fourth: trusting a single test. One event landing proves the path works once. Real webhooks arrive in bursts, sometimes twice, sometimes out of order, and sometimes late. Test with several events, including a duplicate, before you call the integration done.
How to use this webhook tester
Using this webhook tester is simple. Press the button once: webhook.site opens in a new tab and gives you a unique URL. Copy that URL and paste it into the target URL box here. Pick a method — POST is the default — and type your JSON payload, or leave the test event in place. Press the button again and copy the curl command from the output box.
Paste the curl command into a terminal and run it. Then switch to the webhook.site tab: the request should appear in the inbox with its method, headers, and body. If it does not appear within a few seconds, check the URL you pasted — a single wrong character sends the request somewhere else entirely.
Everything this page does runs in your browser: the command is built from your inputs, nothing is uploaded, and nothing is stored. The receiving happens on webhook.site, a free service, and the sending happens in your own terminal. Close the webhook.site tab when you are done — the unique URL stops being useful, and a fresh one is free whenever you need it.
Try it with something real before you need it: send the default test event, watch it land, then change the payload to a real event from your own service and send that. Once you have seen two events arrive, you know the path works — and you know what the data looks like when it does.