Skip to content

Instantly share code, notes, and snippets.

@samneirinck
Created July 25, 2015 14:51
Show Gist options
  • Save samneirinck/904b55b2b75c8f0370cf to your computer and use it in GitHub Desktop.
Save samneirinck/904b55b2b75c8f0370cf to your computer and use it in GitHub Desktop.
Get Volume request
POST /MediaRenderer/RenderingControl/Control HTTP/1.1
HOST: 192.168.0.156:1400
SOAPACTION: "urn:schemas-upnp-org:service:RenderingControl:1#GetVolume"
CONTENT-TYPE: text/xml; charset="utf-8"
Content-Length: 380
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<u:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1">
<InstanceID>0</InstanceID>
<Channel>Master</Channel>
</u:GetVolume>
</s:Body>
</s:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment