Hi All,
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
https://mydevstackurl/identity/ however when I try and run a simple curl against my compute as follows:
I got no response back from curl - no 200 ,no 30x no 4xx nothing.
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:
curl -s -H "X-Auth-Token: $OS_TOKEN" \
$OS_COMPUTE_API/flavors \
| python -m json.tool
Only returns:
Expecting value: line 1 column 1 (char 0)
Thanks