Status: New
Owner: ----
New issue 111 by [email protected]: http request body programmatically to
perform POST /2/instances (i.e. create instance)
http://code.google.com/p/ganeti/issues/detail?id=111
What steps will reproduce the problem?
1.I have formed http-request in Java
https://<primarynodename>:5080/2/instances, method POST
2.I have formed parameter list by folloing name=...,disk-template=...
pnode=... and others
3.I have sent request programmatically. So, i already had success stories
to perform get and post Ganeti API by JAVA.
What is the expected output? What do you see instead?
I see response:
"code": 400,
"explain": "Bad request syntax or unsupported method",
"message": "Invalid body contents, not a dictionary"
So, I understand, that I formed http-body wrong for that case. But
documentation on this API has not tell anything about.
Please use labels and text to provide additional information.