rafinha 8 Posted March 28, 2020 Posted March 28, 2020 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? Thanks
Solution rechigo 294 Posted March 28, 2020 Solution Posted March 28, 2020 (edited) 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 March 28, 2020 by rechigo 1
rafinha 8 Posted March 28, 2020 Author Posted March 28, 2020 (edited) AH, @@rechigo, @@Luke I forgot to ask, there is no way to get "New Content Added" from Webhooks? I subscribed for "System Events" but I got nothing. Thanks Edited March 28, 2020 by rafinha
rafinha 8 Posted April 3, 2020 Author Posted April 3, 2020 Hey @@Luke, just curious, the missing webhook props is planned for the next minor version? Thanks
rafinha 8 Posted May 12, 2020 Author Posted May 12, 2020 Hey @@Luke any news about this? I would like to integrate to create a proper notification system for my Telegram/Messenger bot. Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now