BOSH API
curl -v -s -k 'https://admin:admin@192.168.100.100:25555/deployments/cf-on-openstack/vms?format=full

curl -v -s -k 'https://admin:admin@192.168.100.100:25555/tasks/1181/output?type=result

Note: -v Makes the fetching more verbose/talkative. Mostly useful for debugging.
Note: -s Silent or quiet mode. Don't show progress meter or error messages
Note: -k To perform "insecure" SSL connections and transfers

 

curl -s -k 'https://admin:admin@192.168.100.100:25555/deployments' | jq .

curl -i -s -k 'https://admin:admin@192.168.100.100:25555/deployments/cf-on-openstack/vms?format=full'

curl -s -k 'https://admin:admin@192.168.100.100:25555/tasks/1594/output?type=result' | jq .

Note: -i Include the HTTP-header in the output

除非特別註明,本頁內容採用以下授權方式: Creative Commons Attribution-ShareAlike 3.0 License