Hi guys.
So I'm working with the VAPIX API, and I can get commands to work from postman, but I can't figure out how to format the working commands down to a string I can send out via a TCP client.
How do I format the following very basic example?? This is the raw data out of the postman console
POST /axis-cgi/apidiscovery.cgi HTTP/1.1
Content-Type: application/json
User-Agent: PostmanRuntime/7.34.0
Accept: */*
Postman-Token: c2d76ff9-854d-4daf-81d9-5ed4a8035c99
Host: 10.95.16.11
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 36
?
{
"method": "getSupportedVersions"
}
Thanks in advance
Jim