webhookrelay / node-red-contrib-webhookrelay

8 stars 2 forks source link

Not an issue - how to use Webhook for redeploy portainer? #6

Open Yonny24 opened 2 years ago

Yonny24 commented 2 years ago

Sorry this is not an issue - wondered if I could pick your brain.

Looking to post a webhook to redploy a portainer container. I've set up the bucket/token key etc in nodered and its connected

This example shows how to trigger the webhook using redeploy for portainer:

<form action="https://portainer:9443/api/webhooks/638e6967-ef77-4906-8af8-236800621360" method="post"> Redeploy with latest image of same tag <input type="submit" /> </form>

Can you point me in the right direction if at all possible?

Many thanks

rusenask commented 2 years ago

hi, sorry for the delay, not entirely sure what's your setup and what are you trying to do :) Maybe you need to call portainer API from nodered?