Jump to content

Webhooks


rafinha
Go to solution Solved by rechigo,

Recommended Posts

rafinha

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

Link to comment
Share on other sites

  • Solution
rechigo

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
Link to comment
Share on other sites

rafinha

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
Link to comment
Share on other sites

  • 1 month later...
rafinha

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

 

Thanks

Link to comment
Share on other sites

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...