File size: 295 Bytes
eeaa85f
ba1afca
eeaa85f
ba1afca
2b65b48
 
eeaa85f
2b65b48
 
ba1afca
2b65b48
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from flask import Flask, request, jsonify

app = Flask(__name__)

@app.route('/webhook', methods=['POST'])
def webhook():
    data = request.json
    # Processar os dados recebidos
    return jsonify({'status': 'success'}), 200

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