<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Hi All,</span><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">I am working on an api and would like to get some more context behinds authenticating into the api - so I am trying to get a list out of available flavors 1 and servers to start off with. I am able to get a token that I can interact with against keystone which shows up as <a href="https://mydevstackurl/identity/" class="">https://mydevstackurl/identity/</a> however when I try and run a simple curl against my compute as follows: </div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">curl -H "X-Auth-Token: $OS_TOKEN" -s <a href="https://http://mydevstackurl/compute/api/v2.1/servers" class="">https://http://mydevstackurl/compute/api/v2.1/servers</a></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">I got no response back from curl - no 200 ,no 30x no 4xx nothing. </div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Can anyone help to get me started ? The documents seem to be pretty detailed - but the methods provided don’t seem to work either in the tutorial: for example: </div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><pre class="" style="box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; padding: 20px 30px; margin-top: 0px; margin-bottom: 10px; line-height: 16.25px; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;">curl -s -H <span class="s2" style="box-sizing: border-box; color: rgb(255, 171, 0);">"X-Auth-Token: </span><span class="nv" style="box-sizing: border-box; color: rgb(9, 248, 248);">$OS_TOKEN</span><span class="s2" style="box-sizing: border-box; color: rgb(255, 171, 0);">"</span> <span class="se" style="box-sizing: border-box; color: rgb(255, 171, 0);">\</span>
<span class="gp" style="box-sizing: border-box; color: rgb(106, 106, 106);"> $</span>OS_COMPUTE_API/flavors <span class="se" style="box-sizing: border-box; color: rgb(255, 171, 0);">\</span>
<span class="go" style="box-sizing: border-box; color: rgb(64, 64, 64);"> | python -m json.tool</span></pre><div class=""><br class=""></div></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Only returns: </div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><div class="">zsh: no matches found: <a href="http://mydevstackurl/identity/v3/auth/tokens?nocatalog" class="">http://mydevstackurl/identity/v3/auth/tokens?nocatalog</a></div><div class="">Expecting value: line 1 column 1 (char 0)</div></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Thanks</div></body></html>