cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
576
Views
0
Helpful
0
Replies

SX20 API via XML problems

I control the SX20s by telnet and have discovered that the telnet service mysteriously turns off sometimes. We then have to go into the browser and turn on the service again.

I am trying to connect via port 80 (from the control processor) to turn on the telnet service. There is not much information in the SX20 reference on http or xml control.

I was able to use connect and get a config (by trial and error and experience with other devices)

I used:

'GET /configuration.xml HTTP/1.1',$D,$A,'HOST:127.0.0.1',$D,$A,'Authorization: Basic YWRtaW46YWRtaW4=',$D,$A,$D,$A

This command over port 80 does work and I get an appropriate response. I have had no luck with a POST command to do anything.

I followed an example in the API verbatim and it did not work.

I am looking to create a command for port 80 that turns on telnet service (and authenticates as admin as shown above). Can anyone help?

Thanks in advance,

Jim

0 REPLIES 0
Content for Community-Ad