I would like to download a file from Swift (Openstack) using curl. I used the following command : curl -i http://hostname:5000/v2/container_name/filename -X GET -H "X-Auth-Token:token_value" -o "response.txt"
Where : response.txt : a file to store the result of curl
I used the version 2 of authentication.
I got as a response that "The resource could not be found". You can see the full message in the following image.
Is the URL correct ?
I obtained the token by running the command swift stat -v. Is it the right token ?
Thank you