More > Media Center 12 (Development Ended)

Web interface

<< < (3/3)

Urfalo:
Im using the same address and port where I find MCWS/v1/doc. From Crestron where im trying to talk with MC14, there is no formating in what I send. So if i send <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> , this is whath the libary server recives. Like when I send to the web server, I cant youst write the weblink,  i have to write GET "command" \n\n

Urfalo:
When I sending: http://10.0.0.2:81/MCWS/v1/Playback/Pause?State=-1&Zone=-1&ZoneType=id , the MC pause the music, but when I sendig /MCWS/v1/Playback/Pause?State=-1&Zone=-1&ZoneType=id thru a tcp/ip client connected to the server on port 81 I get server error. I have tryed with GET, POST, PUT in front of the command, an with an without line feed behind. Anyone know the exact command internet explorer send to the server?

kanebullen:

--- Quote from: Urfalo on June 21, 2009, 06:05:10 am ---When I sending: http://10.0.0.2:81/MCWS/v1/Playback/Pause?State=-1&Zone=-1&ZoneType=id , the MC pause the music, but when I sendig /MCWS/v1/Playback/Pause?State=-1&Zone=-1&ZoneType=id thru a tcp/ip client connected to the server on port 81 I get server error. I have tryed with GET, POST, PUT in front of the command, an with an without line feed behind. Anyone know the exact command internet explorer send to the server?

--- End quote ---

Probably too late to help you, but maybe try adding a HTTP/1.0 at the end of the line, ending with a carriage return:

"GET  /MCWS/v1/Playback/Pause?State=-1&Zone=-1&ZoneType=id HTTP/1.0"

Kane

Navigation

[0] Message Index

[*] Previous page

Go to full version