PDA

View Full Version : send xml with LUA



yonu
October 22nd, 2013, 10:45 PM
I have a dumb question what is the best way to send this with LUA from inside Girder?

POST /upnp/control/IRCC HTTP/1.1\r\n
Host: 192.168.1.1:52323\r\n
User-Agent: MediaRemote/3.0.1 CFNetwork/548.0.4 Darwin/11.0.0\r\n
Content-Length: 317\r\n
Content-Type: text/xml; charset=UTF-8\r\n
SOAPACTION: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"\r\n
Connection: close\r\n\r\n

--->THEN ALSO SEND THIS TO PORT 52323 at your Blu-ray Player's IP ADDRESS:<---
<?xml version="1.0"?>\n
<s:Envelope xmlns:s="[Link: schemas.xmlsoap.org] /encoding/">\n
<s:Body>\n
<u:X_SendIRCC xmlns:u="urn:schemas-sony-com:service:IRCC:1">\n
<IRCCCode>AAAAAwAAHFoAAAAaAw==</IRCCCode>\n
</u:X_SendIRCC>\n
</s:Body>\n
</s:Envelope>\n

Thanks,
Yonu