Update api.mdx
"\" makes the $ to be escaped and causes ==> {"errors":[{"message":"Bad credentials"}]}
hence the doc fix :)
This commit is contained in:
parent
7df0e62ade
commit
5e5efecf39
@ -118,7 +118,7 @@ curl \
|
||||
|
||||
curl \
|
||||
--header "Content-Type: application/json" \
|
||||
--header "Authorization: Bearer \$VAGRANT_CLOUD_TOKEN" \
|
||||
--header "Authorization: Bearer $VAGRANT_CLOUD_TOKEN" \
|
||||
https://app.vagrantup.com/api/v1/box/myuser/test/versions \
|
||||
--data '{ "version": { "version": "1.2.3" } }'
|
||||
|
||||
@ -126,7 +126,7 @@ curl \
|
||||
|
||||
curl \
|
||||
--header "Content-Type: application/json" \
|
||||
--header "Authorization: Bearer \$VAGRANT_CLOUD_TOKEN" \
|
||||
--header "Authorization: Bearer $VAGRANT_CLOUD_TOKEN" \
|
||||
https://app.vagrantup.com/api/v1/box/myuser/test/version/1.2.3/providers \
|
||||
--data '{ "provider": { "name": "virtualbox" } }'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user