Spaces:
Runtime error
Runtime error
from flask import Flask, request, jsonify | |
app = Flask(__name__) | |
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) | |