<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You're getting a '300 Multiple Choices' response as you haven't indicated a version in your request. You can parse the body as json (indicated in the headers) to see what API versions are available to you at any given time. If you don't care about  taking that extra step, just use a URI with 'v1' as the first token in your path: http://<Glance_URL>:<PORT>/v1/images/detail<div><br></div><div>Brian Waldon<br><div><br></div><div><br><div><div>On Aug 9, 2012, at 2:05 AM, Sajith Kariyawasam wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi all, <div><br></div><div>I'm trying to invoke Openstack Glance REST API s using a Java client, to get image details. etc (Ultimately I need to upload an image)</div><div><br></div><div>When I invoke http://<Glance_URL>:<PORT>/images/detail  GET request in Java code, I'm getting <b>HTTP 300 </b>as the response code.</div>
<div><br clear="all"></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div>4 < 300</div></div></div><div><div><div>4 < Date: Thu, 09 Aug 2012 08:56:29 GMT</div></div></div><div><div><div>
4 < Content-Length: 222</div></div></div><div><div><div>4 < Content-Type: application/json</div></div></div><div><div><div>4 < Connection: keep-alive</div></div></div></blockquote><div><div><br></div><div>Any idea what could have gone wrong there?</div>
<div><br></div>-- <br>Best Regards<div>Sajith</div><br>
</div>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></div></body></html>