webhooks

What Web Applications Do You Know Using Webhooks

Description of how a webhook works from http://webhooks.pbwiki.com/ - How do they work? By letting the user specify a URL for various events, the application will POST data to those URLs when the events occur...Among other things, you can: create notifications to you or anybody via email, IRC, Jabber, ... put the data ...

Plugin for declaratively specifying an API in Rails like django-piston

Is there a gem/plugin for defining an API in Rails? I know you can have "RESTful routes" and render to different formats in controller actions, but I'm looking for a more all-around solution, including but not limited to the following: I would like to declare which models to expose (arbitrary resources could also be declared, but conve...

User-configurable signalling mechanism in Django

The question here is whether something like this already exists or, if not, whether there's a better way to achieve it than what I describe below. I need to allow an arbitrary Principal (User, Group, Site Admin) to add Event Sinks (like email addresses, Webhook URLs, etc.) to the system (through the web interface) and, for each one, spe...

How to represent HTTP GET/POST et. al. / webhooks in simpler string forms

I'm currently involved in the design phase of a HTTP-based API for a Messaging-type project. The system is primary composed of service-oriented loosely-coupled heterogeneous daemons talking to each other via HTTP. Each daemon handles HTTP requests and responds appropriately whether a submitted message was processed or not. At the same ...

How to listen for events on postbin and get the values out of it?

I am testing out webhooks and I created a postbin test url and I am trying to create a webservice that would listen to the postbin url and be able to get the values out of the post, but I am not sure how to do this: My sample postbin url could be http://www.postbin.org/abcdef ...

Implementing the server side of Webhooks

If I want to Webhooks-enable a web application (I'm referring to the server-side of things, ie the server where the event happens and the callback is initiated from), are there libraries for this, or is this functionality typically part of the web server stack? Or, am I looking at this incorrectly, and to implement Webhooks I simply cod...

Is Webhooks a style/pattern or a specification?

I've been reading about Webhooks and I'm trying to determine if it's a specification vs a style/pattern. By "specification" I mean that the implementation details, e.g. headers, payload and so on are well defined. By "style" or "pattern" I mean in the sense that REST is a style (as opposed to a spec) or a pattern which describes usage ...

best way to setup a webhook to restart apache for a django server

I first tried to use django and then django-webhooks to call a shell script that restarts the server. This didn't work, because the webpage hangs when the server restart is called, as django is reloaded. Then I used fastcgi and python alone to create a URL that calls the shell script. I know the python script works when I run it on the...

How do I restart apache from a webpage apache is serving?

I have a script server side (both a shell and a python script) that can restart Apache and do some other cleanup I need. However, I want to expose a webhook, so when my repository is updated, then Apache will be restarted. However, I am currently serving the URL that restarts Apache using Apache, and when the script stops Apache or kills...

Questions on webhooks

Jeff Lindsay, who coined the term 'webhook', said that the difference between webhook and http callback is that webhooks are user-defined. I think I understand what he meant, but I was thinking about it and I asked myself, can webhooks be effectively used by regular users (I mean: non-developers)? Usually people don't have a clue how t...

How do I debug a webhook POST?

A webhook is sending me a POST, but i want to do some debugging. currently i'm looping over the array and then sending a mail() to myself instead of printing (because how could i see what's printed to the page?), but I'm betting there's a more efficient way. Any suggestions? ...

Testing Rails+Webhooks with Cucumber

I'm trying to integrate my rails application with an external service. I'm using Cucumber to do integration testing and I'd don't want to mock out the external service at times. When I get webhooks from this service, they are routed to apache running my development environment. This would be easy to fix if I could figure out how to fi...

building a web plugins platform for video

I am thinking of ways by which people may interact with video and probably publish them. So, I have a service in mind that people can use to upload the video to one place and then just write plugins which tells my webservice what to do with these videos. my current plans are like if someone uploads a video to my service and then edits it...

Create Wufoo webhook with PUT request in ColdFusion

Hello, I'm having troubles with building correct PUT request to the Wufoo. In all my attempts I see the same error: 404 A WebHook must contain a url parameter. Here is the version with JSON data type: <cfset local.action = "forms/#local.formHash#/webhooks.json" /> <cfset local.request = {"url" : local.webHookURL, "handshakeKey" : l...