cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
399
Views
0
Helpful
1
Replies

SX80 commands over HTTP in ce 8.2.2

jeffpriddy
Level 1
Level 1

We installed an SX-80 last year and I created a web-based control panel for simple functions like muting and unmuting the microphone and applying camera presets.  What worked, under an authenticated web session, were URL's like this:

http://10.11.22.33/formputxml?xmldoc=<Command><Audio><Microphones><Mute></Mute></Microphones></Audio></Command>

We had to upgrade the SX-80 newer software, and that broke my HTTP controls.  The www-url encoded option is removed from the newer software, and I haven't been able to get the POST putxml variation to work.  The new ce82 API manual didn't help much.

Has anyone gotten HTTP commands to work with ce82?

1 Reply 1

Patrick Sparkman
VIP Alumni
VIP Alumni

Appears your SX80 was running TC7 software, and you upgraded to CE8 and later.  Looking at the API guides, in order to use the POST method with CE8 and later, the commands/configurations will need to be contained within the HTTP body, instead of the URL.  The HTTP header content-type should be set to "text/xml".

TC7 using GET, POST method:

http://<ip-address>/formputxml?xmldoc=<Configuration><SystemUnit><Name>newName</Name></SystemUnit></Configuration>

CE8 and later using POST method:

http://<ip-address>/putxml