Postman 401 unauthorized
Friant-Alex opened this issue · 0 comments
Friant-Alex commented
Running through docker. accessing on the browser with the admin/password allows access. When I attempt to use any of the end points I get an unauthorized error.
Attempted to use basic auth with admin/password
EDIT:
Looking through the closed issues I found that the auth type is Digest.
switching to this type in postman still yields the same 401 error.
EDIT EDIT:
for anyone stumbling across this I was not able to get postman to work. however I was able to use .NET
` var handler = new HttpClientHandler()
{
Credentials = new NetworkCredential(username, password)
};
var httpClient = new HttpClient(handler);
var response = await httpClient.GetAsync(url);
response.EnsureSuccessStatusCode();
var content = await response.Content.ReadAsStringAsync();`