Skip to content

Instantly share code, notes, and snippets.

@jishi
Created October 22, 2016 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jishi/ed4fc7b154ab23308a0badc27226e984 to your computer and use it in GitHub Desktop.
Save jishi/ed4fc7b154ab23308a0badc27226e984 to your computer and use it in GitHub Desktop.
CURL example
curl -X POST -H 'SOAPACTION: "urn:schemas-upnp-org:service:AVTransport:1#Play"' -d '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID><Speed>1</Speed></u:Play></s:Body></s:Envelope>' http://192.168.1.157:1400/MediaRenderer/AVTransport/Control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment