2015/07/20 - Apache Deltacloud has been retired.

For more information, please explore the Attic.


Working with cURL against the Deltacloud CIMI frontend

The cURL documentation is pretty comprehensive, but the following are some general points to remember for using cURL against the Deltacloud CIMI frontend. All the examples on this page assume the Deltacloud server is running at localhost:3001:

  • Credentials are specified with --user "name:password"
  • Request headers are specified with -H "header: value" .
  • HTTP verbs are specified with -X VERB
  • The -i flag will show you the response headers and the -v flag will show you request and response headers as well as info about cURL activity:
curl -v -X DELETE --user "username:password" -H "Accept: application/xml" http://localhost:3001/cimi/machine_images/my_image
      

Select a CIMI resource from the right-hand navigation bar to see cURL examples for that resource.