Closed ajsb85 closed 7 years ago
POST https://dev.flyve.org/glpi/plugins/fusioninventory/
Body payload: <XML content>
<XML content>
User-Agent: FusionInventory-Agent-iOS_v1.0 Content-Type: text/plain; charset=ISO-8859-1
var xmlTree = xml2Json(responseBody); tests["Status code is 200"] = responseCode.code === 200; tests["Status code name has string"] = responseCode.name.has("OK"); tests["Content-Type is present"] = postman.getResponseHeader("Content-Type"); tests["Body contains REPLY"] = responseBody.has("REPLY"); tests["Valid REPLY"] = xmlTree.REPLY;
GLPI API REST Endpoint
POST https://dev.flyve.org/glpi/plugins/fusioninventory/
Body payload:
<XML content>
Postman Test