'Git bash curl request - URL using bad / illegal format or missing url
Any ideas why im getting this error - ive tried moving the URL to the end, wrapped in single and double quotes
AUTH_TOKEN = $(curl -X POST\
https://identity.api.rackspacecloud.com/v2.0/tokens\
-H 'Cache-Control: max-age=10'\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
-k "C:\curl\cacert.pem"\
-d "{"auth": {"RAX-KSKEY:apiKeyCredentials": {"username": "fakeuser","apiKey": "fakeapikey"}}}")
echo "$AUTH_TOKEN"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

