Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing http callback or webhooks

I wish to see the content of a http callback generated by an application (i.e. paypal or Google's pubsubhubbub). Does anybody know of a simple service that I can use as endpoint for a http post and see the content of the http post?

like image 237
Tim Skauge Avatar asked Mar 15 '11 12:03

Tim Skauge


People also ask

Is webhook same as callback?

A callback is a function that is passed as a parameter to another function. A webhook is a hook in the web. Typically used to make two distinct systems communicate and typically to go away from polling towards a publisher-subscriber model.

How do you test webhook callback?

A number of websites, such as https://webhook.site and https://requestbin.com, provide free URLs that can be used to test callbacks. Simply create a URL on one of these sites, then configure your webhook to use it. These sites allow you to see the details of the request sent to them by the callback service.

Does webhook use HTTP?

A webhook is an HTTP-based callback function that allows lightweight, event-driven communication between 2 application programming interfaces (APIs).


2 Answers

There's also https://requestbin.com/ which provides a free endpoint for sending HTTP requests and observing the HTTP payload and headers.

You can also make a request bin private, protected by Google / Github logins if you're sending sensitive data, and you can delete any requests you send to the endpoint.

like image 200
Travis Reeder Avatar answered Oct 12 '22 23:10

Travis Reeder


Instead of https://requestbin.com/, you can directly use https://pipedream.com/ which is where requestbin is hosted on.

like image 27
Flair Avatar answered Oct 12 '22 23:10

Flair