In IIS web.config I needed to set the verb for PHP to included PUT,DELETE,PATCH
some info
https://stackoverflow.com/questions/673 … ensionless
The delete and update fonctions work :-)
]]>to post a new computer url is …:glpi/apirest.php/computer/
to update computer #25 is …:glpi/apirest.php/computer/25/
I am trying to update a custom field on my servers using powershell.
I am using the GlpiTools powershell module for this.
The issue I am facing is a 404.0 NOT FOUND error on all the PUT and DELETE methods.
I am debugging outside the powershell module (using the Chrome restlet client pluging) but am unable to modify a computer field.
I am using the JSON content of the example in the apirest.php documentation, but always receive a 404 on the PUT method
Any tips?
When I change the method to POST a new computer gets created with the data I specified in the body...
Currently I feel lost...