#JovanKomlenac-webhook
1 messages ยท Page 1 of 1 (latest)
@gilded cloak maybe there's something about your server's configuration that blocks incoming POST requests?
Thanks for response. Here is update.
POST requests are enabled and webhook endpoint is opened for access without login.
When I use CLI listener, it works, but when I use "send test event" from dashboard, copy the JSON request and send it with postman to my localHost webhook, I get 400. How can It differ from CLI?
Thanks in advance for the support
Hey there ๐ getting caught up here. If you're verifying the signature of the events, then I don't think copying the payload and sending via Postman would work as the request would be lacking the necessary headers.
In you initial post you mentioned that a 405 was returned. Is there anywhere in your event handler code that you explicitly return a 405, or is this error coming from the framework you're using?
It is coming from the framework. here is my webhook class, you can check it out.
Thanks, and do you have an event ID, where you saw a 405 returned, that we can take a closer look at?
Hm, so it looks those 405s are coming from your nginx service.
Thanks for the fast replay, I will check it with other collogues who are responsible for the server and write again if needed.