Dear all,
I’m trying loads of different request bodies to see if I can get the JSON REST to work.
Adding just a name on a new vm request gives me a hint of what to do:
So then I add the next parameter to the request body and try again:
I’ve tried:
- {"name":"local.domain.dev.nl","cluster.name":"local_cluster"}
- {“vm.name":"local.domain.dev.nl”,”vm.cluster.name":"local_cluster”}
- {“vm-name":"local.domain.dev.nl”,”vm-cluster-name":"local_cluster”}
- {“action”: {“vm”: {[“name”:”local.domain.dev.nl”,”cluster.name”:”local_cluster”,”template.name”:”Blank”]}}}
……… and load of other combinations. And I’m really getting pretty annoyed :D
So what should my JSON body actually look like?
Met vriendelijke groet, With kind regards,
Xander Smalbil
Netbulae Virtualization Experts
Tel: 053 20 30 270 | info@netbulae.eu | Staalsteden 4-3A | KvK 08198180 |
Fax: 053 20 30 271 | www.netbulae.eu | 7547 TA Enschede | BTW NL821234584B01 |