Last active
January 11, 2018 11:55
-
-
Save pixelicous/8f3efa14e44e08d2dbf0fa8da6496515 to your computer and use it in GitHub Desktop.
Invoke Azure Webhook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$uri = "WEB_HOOK_URL" | |
$headers = @{"PARAMETER1"="VALUE1";"PARAMETER2"="VALUE2"} | |
$response = invoke-restmethod -method post -uri $uri -headers $headers | |
$jobid = [guid][string]$response.JobIds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment