ushahidi/SMSSync — Issue #7: support callback URLs
Author: mandric
Created: 2012-01-20 02:28:27+00:00
State: open

Hello, I am interested in supporting a callback setting in the json response body for the gateway to make an additional HTTP request after it processes the payload. I'd like to allow the server to specify a callback attribute like below. I'm hoping to be able to chain some requests together:

callback: {
url: 'http://something.com/path',
params: {"foo":"bar"},
method: "POST"
}

Before I embark on supporting this type of functionality I thought I would consult. Let me know if this is something you might find useful or how you might architect something like this. I doesn't seem like it would be too difficult, thanks.