1 changed files with 12 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||
#!/bin/bash |
|||
# eqx-market-spot-price |
|||
|
|||
EQXTOKEN=`cat ~/.packet-cli.json | jq ".token" --raw-output` |
|||
|
|||
curl \ |
|||
--silent \ |
|||
-X GET \ |
|||
--header 'Accept: application/json' \ |
|||
--header "X-Auth-Token: ${EQXTOKEN}" \ |
|||
'https://api.equinix.com/metal/v1/market/spot/prices' |
|||
|
Loading…
Reference in new issue