I would like to be able to trigger a pipeline to build every time I send a request to a webhook URL.
Use case:
I have a headless WordPress install that every time any content is updated, it sends a request to a webhook. Currently, it sends to Netlify to rebuild the static front-end. I would like this instead to trigger a bitbucket pipeline.
Hello @nathanakrill ,
I believe the same topic has already been discussed in the below thread:
Can you please review it and confirm it answers your question?
Also, the complete Bitbucket Cloud REST API documentation is available at below URL:
Cheers,
Dario
Hi Dario, thanks for that.
While it does trigger a pipeline, I cannot use the API in that way because the format the trigger works in just uses a URL. (The plugin I am using for this is here )
I cannot do oAuth or set headers like in the example provided.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @nathanakrill ,
I have no knowledge of the tool you are using. However, I can confirm that in order to be able to call any Bitbucket REST API endpoint you must be able to authenticate your requests using one of the methods described in:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.