Skip to content

Instantly share code, notes, and snippets.

@remijouannet
Created February 3, 2021 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remijouannet/82e81b76aa1668d1f4a89cf676287011 to your computer and use it in GitHub Desktop.
Save remijouannet/82e81b76aa1668d1f4a89cf676287011 to your computer and use it in GitHub Desktop.
curl_osc
curl -X POST https://api.eu-west-2.outscale.com/api/latest/ReadVms \
-H 'Content-Type: application/json' -k \
--user ACCESSKEY:SECRETKEY \
--aws-sigv4 "osc" \
--data '{"Filters" : { "VmIds" : [ "i-c84116bd" ] } }'
curl -X POST https://api.eu-west-2.outscale.com/api/latest/ReadVms \
-H 'Content-Type: application/json' -k \
--user ACCESSKEY:SECRETKEY \
--aws-sigv4 "osc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment