Feliz / app.py
SherlockRamos's picture
Update app.py
2b65b48 verified
raw
history blame contribute delete
295 Bytes
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)