Highlighted
ppodgy
Visitor.
36 views

We are getting "Unauthorized" error when opening the AM REST URLs

Hi,

We are new to Asset Manager REST, hence wonderring if we could get some pointers here.

When opening one of the REST URLs (as shown in attachment) it is resulting in an "Unauthorized" message.

Any hints or pointers welcome as documentation on this is very sparse.

Cheers

Paul

0 Likes
1 Reply
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: We are getting "Unauthorized" error when opening the AM REST URLs

Hello,

Your approach is incorrect.

You can use the AM Rest Api with a REST client, for example Postman native client.

On Authorization tab, put Basic Auth and Admin+password (if Admin has a password, if not – leave empty)

auth.jpg

Then, on the Enter request URL put for example: http://localhost:8080/AssetManagerWebService/rs/v1/db/amEmplDept

And use method GET, then click Send.

get.jpg

-------------------
Boryana Kotseva
Micro Focus Senior Technical Support Engineer / NSE
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.