arifba
Forum Replies Created
-
Thanks but that’s not it – the url is fine and is publicly accessible – if it wasn’t there wouldn’t be a post from your plugin to the endpoint on auto-draft creation.
Maybe it’s something with our wordpress setup, not sure.
I worked around it by just implementing a home-grown webhook post to our endpoint via the wordpress function transition_post_status.
Thank you for your quick support.
Thanks for getting back to me. Actually I see nothing posted to the url, even for normal posts (let’s forget the custom post type, don’t think that’s the issue).
What I thought was getting posted for normal posts was actually a post in auto-draft status (that does hit the webhook url during post creation). Is nothing sent on post publish because of this auto-draft sending a webhook during drafting of the post?
Settings are:
webhook name: post-create
webhook url: https://291eb378660b.ngrok.io/webhooks/wp-post-create‘Send Demo’ successfully sends a payload to the server and I see an http status 100 Continue.
In settings tab I have ‘Send Data on New Post’ toggled on under ‘Activate Send Data Triggers’. Nothing toggled on under ‘Activate Receive Data Actions’.
Nothing hits the webhook url on a new post creation/publish.
Arif
Awesome Richard, thanks for the workaround options.