Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

HTTP authentication issue on RESTFul calls

$
0
0
Hello,

I was playing around with the RESTFul calls to Hyperic. I tried the url, http://hyperic.domain.name:7080/hqu/hqapi1/user/list.hqu, from a browser then it asks for an authentication. I entered the username and password of an existing user account in hyperic. I got in and the xml was displayed in the browser. I also tried it from inside the server in a terminal with the command, curl http://localhost:7080/hqu/hqapi1/user/list.hqu, and got the following error in the response:







HTTP Status 401 -


type Status report

message

descriptionThis request requires HTTP authentication ().


JBossWeb/2.0.1.GA





Is there a RESTful call to login a user or a configuration from the hyperic server to accept RESTful calls from a specific host to get pass http authentication?

Thanks!

Message was edited by: donzymeth

Viewing all articles
Browse latest Browse all 52618

Trending Articles