Skip to content
sanchojaf edited this page Jan 3, 2015 · 4 revisions

The webhook are the final step in a flow, implemented like a request HTTP Post to an endpoint, for sent or receive data.

Is recommend the use of convention for name, the prefix 'add' and 'update' for webhook that send objects, and 'get' for webhook that receive objects, example /add_products, /update_products, /get_products.

In the request session is possible add an schema to validate the flow document. Then has the options for save as an object of specific data-type. Finally you can decide trigger events associated with the object saved.

The data-type could be same or different that has the flow.

In the response session has the same options. Add an schema validation, save an object and trigger events.

Clone this wiki locally