OMC QUICK TIP: Windows CURL giving Unauthorized 401 error calling webservices?
Content
Problem
You are trying to call a webservice in OMC using Windows version of curl and you are getting an error similar to the following:
< HTTP/1.1 401 Authorization Required < Date: Thu, 11 Oct 2018 05:41:13 GMT < X-Frame-Options: SAMEORIGIN * Authentication problem. Ignoring this. < Content-Type: text/html; charset=iso-8859-1 < <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>401 Authorization Required</title> </head><body> <h1>Authorization Required</h1> <p>You are not authorized to access the requested resource. Check the supplied credentials (e.g., username and password).</p> </body></html>
Possible Solution
1) Verify that your username and password are correct.
2) Make sure you are using
Tagged:
0