Testing Webhooks

Ever encounter a situation where you need to test the request send by your application to another system.

Eg : like when ever you are making changes in your application triggers a request send from your application to other server. Now you need to check if the request send by your server is correct or not.

To test this type of scenerio you can use RequestDump.
This the server which will dump all the request from your server to this server.



Now how to use this.

This is the nodejs application which you need to run on your server.
Follow the instruction on the github page to install this application.

Now suppose you  started server on machine with IP : 172.168.10.100
Then configure your application to send request to IP 172.168.10.100:3000/anything

Now in your browser open 172.168.10.100:3000/log this will open the log page.
This will show all the dump request send to your server.





Comments