We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
views.py
Change the end to the following. I commented out the original code and got the verification to work. I was getting a 403 error before.
@webhook_blueprint.route("/webhook", methods=["GET"]) def webhook_get(): return verify()
@webhook_blueprint.route("/webhook", methods=["POST"]) @signature_required def webhook_post(): return handle_message() """ @webhook_blueprint.route("/webhook", methods=["POST", "GET"]) @signature_required def webhook(): if request.method == "GET": return verify() elif request.method == "POST": return handle_message() """
The text was updated successfully, but these errors were encountered:
Push daveebbelaar#2
639ddae
Ya está sincronizado el OpenIA con Whatsapp de acuerdo a una base de datos subida.
No branches or pull requests
views.py
Change the end to the following. I commented out the original code and got the verification to work. I was getting a 403 error before.
@webhook_blueprint.route("/webhook", methods=["GET"])
def webhook_get():
return verify()
@webhook_blueprint.route("/webhook", methods=["POST"])
@signature_required
def webhook_post():
return handle_message()
"""
@webhook_blueprint.route("/webhook", methods=["POST", "GET"])
@signature_required
def webhook():
if request.method == "GET":
return verify()
elif request.method == "POST":
return handle_message()
"""
The text was updated successfully, but these errors were encountered: