Jump to content

Webhooks


Go to solution Solved by rechigo,

Recommended Posts

Posted

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
Posted (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 by rechigo
  • Like 1
Posted (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 by rafinha
Posted

Hmm did I not add that one yet?

Posted

I don't think so,

 

Version is: 4.4.0.40

 

5e7f6d9f57af6_webhook.png

Posted

Ok yes we'll have to add that. Thanks.

  • Like 2
Posted

Hey @@Luke, just curious, the missing webhook props is planned for the next minor version?

 

Thanks

Posted

In a future update to the plugin yes. Thanks.

  • Like 1
  • 1 month later...
Posted

Hey @@Luke any news about this? I would like to integrate to create a proper notification system for my Telegram/Messenger bot.

 

Thanks

Posted

Not yet, sorry.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...