Hi all,
I can log into my Jira cloud account with my username and password via chrome and then enter a Rest call on the address bar like this:
https://xyzonline.atlassian.net/rest/api/2/issue/10011
..and it returns the expected json issue object to my browser. But an HttpWebResponse call in a C# program using the same credentials gets a 404 every time (method is a GET):
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://xyzonline.atlassian.net/rest/api/2/issue/10011");
request.Credentials = new NetworkCredential("me@xyzonline.com", "MyPass");
request.Method = httpMethod.ToString();
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
...Same computer, seconds apart. Anyone see what I'm doing wrong?