Example receive service

You can write a service that will respond to WebHook with the following script written in Flask.

Flask Example Code

from flask import Flask, Response

app = Flask(__name__)

@app.route('/webhook/', methods=['GET', 'POST'])
def webhook():
    return Response('{}', status=201, mimetype='application/json')

if __name__ == '__main__':
    app.run(host='0.0.0.0', port='8000')