Webhooks server side implementation
If I want to use Webhooks - include a web application (I mean the server side of things, that is, the server on which the event occurs and the callback is triggered), are there libraries for this or is it usually part of the web server stack?
Or am I seeing this wrong and for implementing Webhooks am I just coding my application to do an HTTP POST callback based on any events I care about?
+2
a source to share
1 answer
Webhooks are not part of the web server. You must program them yourself in the programming language of your choice.
Open a socket to the desired server and port, print the http headers and body, and close the connection.
If you are using PHP you can take a look at cURL which makes things a little easier.
+2
a source to share