Tuesday, May 10, 2016

#503 IaaS --> Storage Cloud Service REST API

Simple example -

Create a container -

Again, we begin by authenticating.
The request has the following format -

curl -v -s -X GET -H "X-Storage-User: Storage-YourIdentityDomain:
YourUser" -H "X-Storage-Pass: YourPwd"

I now use X-Auth-Token and X-Storage-URL in subsequent request(s).

curl -v -s -X PUT -H "X-Auth-Token: YourAuthToken"

NiallC-images is my Container name

Use the following REST request to validate creation -

No comments: