Skip to content

Instantly share code, notes, and snippets.

@srpomeroy
Last active November 29, 2016 18:54
Show Gist options
  • Save srpomeroy/164ea4e925dd451b76ac2cf9c5297e88 to your computer and use it in GitHub Desktop.
Save srpomeroy/164ea4e925dd451b76ac2cf9c5297e88 to your computer and use it in GitHub Desktop.
CURL/JQ example of retrieving RightScale API Status
curl -sS -H "accept: application/json" http://status.rightscale.com | jq '.components[] | select(.name == "Cloud Management API 1.5") | .status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment