opening a http session to a device and passing xml data to perform operation like get information from the device
<p>our requirement is, to open a http session to a device(https://192.168.75.1/...) and passing xml data to perform operation like get information from the device</p>

<p>eg: Adding user to device</p>

<pre><code>https://192.168.75.1/scgi-bin/platform-xml.cgi?sessionId=$sessionId&amp;firstname="&lt;DeviceConfiguration&gt;&lt;userAdd&gt;&lt;userName&gt;nmanglik&lt;/userName&gt;&lt;firstName&gt;Nitin&lt;/firstName&gt;&lt;lastName&gt;Manglik&lt;/lastName&gt;&lt;userType&gt;3&lt;/userType&gt;&lt;groupName&gt;SSLVPN&lt;/groupName&gt;&lt;password&gt;cisco123&lt;/password&gt;&lt;userTimeOut&gt;10&lt;/userTimeOut&gt;&lt;/userAdd&gt;&lt;/DeviceConfiguration&gt;"
</code></pre>
