Posted 27 March 2020 - 10:23 PM
Hi, I'm trying to use the webhhoks and I have some questions.
I created in my side a POST endpoint and I point the webhooke to my endpoint, that its fine, I got the call when an event happens.
Now I take a look in the request, and there is nothing on body.
What should I expect in the POST from plugin webhooks?
Posted 28 March 2020 - 12:03 AM Best Answer
I'm guessing you're expecting JSON (application/json) to be the content type - that's not the case here
The data that comes in from a POST via the webhooks plugin is in multipart/formdata under a key called "data"
Hope this helps!
Edited by rechigo, 28 March 2020 - 12:04 AM.
- rafinha likes this
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users