I’m having trouble all of a sudden getting the payload from a Zoom webhook. This code was working previously and now it’s not.
I have an ASP.NET application hosted on Azure, using a Web API. I have a very simple POST handler that takes a .NET object, which I derived from the JSON request body. The code as is has two issues:
If I don’t decorate the function with Accept-Verb(“GET”), it throws a 405 error saying that the method doesn’t support a GET, but previously it worked when just set up to accept a POST.
Once I do accept GETS, the function fails because the payload is null, even though if I look in the Zoom call logs there is valid JSON data in there.
I’ve tried declaring the function both synchronously and asynchonously, with no difference. I get the same results sending a dummy call from Postman.
It seems like the way in which the request is being received is causing the request body to be missed.
Any help is appreciated!