Is it possible to invoke a webjob from python?
I currently have a web app and webjob on azure. My webjob is set to triggered/manual and want to run it from python code whenever user does a specific action.
something like this from c#:
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create("https://<web appname>.scm.azurewebsites.net/api/triggeredwebjobs/<web job name>/run"); request.Method = "POST"; var byteArray = Encoding.ASCII.GetBytes("user:password"); request.Headers.Add("Authorization", "Basic "+ Convert.ToBase64String(byteArray)); request.ContentLength = 0; I did some research and I saw one post that suggested to use azure-sdk-for-python. But I'm not sure if that was any help as far as "triggering the webjob".
