How to debug POST web hosting?

Webhook sends me a POST and I want to do debugging on it. Currently, I iterate over the array and then send mail () to myself instead of printing (because how can I see what is printed on the page?), But I'm betting on a more efficient way.

Any suggestions?

+5
source share
5 answers

http://requestb.in allows you to create a temporary URL that will show you all the HTTP request data sent to it.

+9
source

There are several options for debugging:

  • Use a debugger with an IDE like netbeans. This will launch the application and find out where everything goes wrong.
  • . .
+2

, , , - , , .

RequestBin, , , URL-, . URL-, , .

URL-, RequestBin.

URL-:

http://requestb.in/XXXXXXXX

.

URL- RequestBin.

Ngork - , . -.

CLI ( ):

 $ ngork 3000

3000, , URL- URL- - PARSE - .

 $ ngrok -subdomain=myappname 3000

Runscope is a tool for debugging APIs. It acts as a proxy server, collecting all the data sent to it, and transfers it to another point. You can then see what was sent to youre API debugging.

Source: https://sendgrid.com/docs/API_Reference/Webhooks/debug.html

+2
source

All Articles