RackSpace CreateImage API using curl is not working

view story

http://serverfault.com – 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/xxxxxx... -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 cur (HowTos)