AnsweredAssumed Answered

Create group with POST request

Question asked by glay on Apr 27, 2017
Latest reply on Apr 28, 2017 by cud

Hello,

 

I am actually programming a custom UI which pick data in the API with Node-Rest-Client.

I managed to do GET and DELETE requests but I have some difficulties with the POST one. In VMTURBO_REST_API_GUIDE_51, to create a group, we have to use the following code:

 

http://guest:guest@123.123.123.12/vmturbo/api/users
--data groupName=MyGroup&seType=VirtualMachine
&reportEnabled=false&static=true&uuidsList[]=423fcadc-eb38-471d-5036-4e385d0b24e1

 

After a long research, I still can't create mine. What should I do with the '--data groupName=.......' .

Where is it stacked in the HTTP request?

Is there any specific manipulation to do more?

 

Regards

Outcomes