What I’m trying to do:
I’m gonna integrate Vonage API into my Anvil application and get phone calls in my app. For this, I made a webhook function in server.
What I’ve tried and what’s not working:
I found that webhook doesn’t work. So I tried with postman. I sent a GET request to {my_app_url}/vonage/answer. But it returned with 404 error.
Code Sample:
@anvil.server.http_endpoint("/vonage/answer")
def handle_incoming_call(contact):
print("===== server contact ==========")
print(contact)
print("===== server contact end ==========")
My Problem:
Simply webhook function doesn’t work.
Please help me.
Thank you