Add ability to customize sync HTTP method, data format and payload keys#119
Add ability to customize sync HTTP method, data format and payload keys#119eyedol merged 5 commits intoushahidi:developfrom
Conversation
…re formats and update UI.
|
@aksalj This is a good feature to merge. It will give so much flexibility to developers. How well does this play with web services that have the default implementation - POST only. Is the Sync Scheme tied to a specific Sync URL? This is a huge pull request. Could you add some test cases? |
|
@eyedol The sync scheme is URL-specific and is by default the original Also, since the |
|
@aksalj thanks for the confirmation. Looks good. Regarding the test cases, I was asking for specific test case when say |
|
@eyedol Added a few test on the different sync schemes |
|
👍 Would be nice to have you on the CREDITS file. Could you add your details and send a pull request? Thanks. |
Add ability to customize sync HTTP method, data format and payload keys



Add feature for developers to specify how SMSSync communicates with their server.
By default a normal
POSTrequest is sent; I needed aPUTorPOSTrequest with messages sent inJSONformat (with my own keys for the data items) to ease integration with a CouchDB web app.