Is there a way to use the recommended endpoint ManagementServer/ServerCommandService.svc with a simple HTTP client? We can’t use the C# Milestone SDK with our project. We use NodeJS on Ubuntu.
We tried the deprecated endpoint POST ServerAPI/ServerCommandService.asmx with the following HTTP body, as specified in the documentation, but the server returns a 401 error code. We set the correct login/password in the HTTP Basic auth headers.
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=“http://www.w3.org/2001/XMLSchema”
xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
<Login xmlns="[http://videoos.net/2/XProtectCSServerCommand](http://videoos.net/2/XProtectCSServerCommand "http://videoos.net/2/XProtectCSServerCommand")">
<instanceId>3F2504E0-4F89-11D3-9A0C-0305E82C3301</instanceId>
<currentToken></currentToken>
</Login>
</soap:Body>
</soap:Envelope>
Thank you.