Skip to content
Advertisement

Lambda to call incoming webhooks

I have been using a bash script to call a webhook that trigger azure devops pipeline, now want to use lambda function to do the same thing but am having issue with identation.

JavaScript

The error is below and am not sure why is not working. Any idea why?

JavaScript

Trying this now and comes up with :

JavaScript

But the error comes up :

JavaScript

Advertisement

Answer

why are you mixing linux curl with python? … just use python

JavaScript

something like that

of coarse in a lambda fn you would need to set it up appropriately…

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement