Whenever i m trying to create image from the given api using curl -:
curl -i -X POST https://lon.servers.api.rackspacecloud.com/v1.1/xxxxxxxxx/servers/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx/createImage -H "X-Auth-Token: xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx" -d '{"createImage" : {"name" : "test_image"}}' -H "Content-type: application/json"
It throws me error -:
{"itemNotFound":{"message":"An unexpected fault occurred.","details":"javax.ws.rs.WebApplicationException","code":404}}* Closing connection #0
I need help in this,how to create a server image using curl. But all other rackspace server api's are working fine for me.
I trie same api with version 1.0, 1.1 and 2.0 but ni success.
Thanks