Help with using KACE API (/service/wsapi.php) to upload XML
As part of some ongoing work we are doing to aid in automated deployments, we are currently struggling to upload a copy of the inventory xml which we have added. In this particular instance, we are using Windows Powershell (v5). I have tried System.HTTP.Client, Invoke-Web and RestMethod and postman. All of the above hit the appliance in the logs but no xml is uploaded. Has anyone had any success uploading an XML through this method.
Happy to provide code used.
Be the first to answer this question