webhook2email: Read what gets POSTed
When you write (or consume) webservices that need some time to process your request, you may end up implementing (or using) a push notification service that gets triggered once the call got processed. In a RESTful world, it’s done by POSTing data to a given URL (call it HTTP callback, or “WebHook” if you like buzzwords). A neat technique to build workflows between distributed systems. But before machines interact with each other, some human being must understand and route their communication data.
The best way of understanding what gets POSTed is reading and studying the data. Unfortunately that’s not a trivial task if there is no proper documentation with samples available. Therefore I wrote a request handler on Google’s App Engine that you can POST data to and that emails you formatted headers, formatted data and plain data in return.
The URL of webhook2email is as follows:
http://webhook2email.appspot.com/?email=[youremailaddress]
If you want to test it right now, open a Terminal and execute the following snippet:
curl -d "hello=nihao&goodluck=haoyun" http://webhook2email.appspot.com/?email=[youremailaddress]
Have fun!
Im Informationsgarten 