You are not logged in.
Pages: 1
Hi Friends,
I am trying to automate glpi updates using rest api but getting some errors. Below are the details.
Version : 9.1.2
Command Trying : curl -X POST -H 'Content-Type: application/json' -H "Session-Token: xxxxx" -H "App-Token: xxxxx" 'https://glpi.xxx.com/apirest.php/Comput … powns=true'
Error Message : ["ERROR_BAD_ARRAY","input parameter must be an array of objects; view documentation in your browser at ]https://glpi.xxx.com/apirest.php/#ERROR_BAD_ARRAY"]
Thanks in advance for your time.
Regards,
Vj
Offline
I was trying post instead of GET so it was crying for input.
Offline
Pages: 1