slawek
Dec 1st, 2005, 07:40 PM
I'm starting on a custom code to control a networked device. The device has it's own web server that can be accessed through IE or with a special application. The communication is achieved with a series of calls using either POST or GET methods. How do I go about programming them into vb6? For example, in order to set the language of the device, the following sequence is required:
POST/main.cgi HTTP/1.1
Authorization: Basic xxxx
Cookie: DSRSESS=xxxxxxxxxxxxxxx
lang=xxx&gmt=xxxx&gmt1y=xxxxx
To which the unit should respond:
HTTP/1.0 200 OK
How do I send this POST message and how do I listen to the unit response? I appreciate any help.
POST/main.cgi HTTP/1.1
Authorization: Basic xxxx
Cookie: DSRSESS=xxxxxxxxxxxxxxx
lang=xxx&gmt=xxxx&gmt1y=xxxxx
To which the unit should respond:
HTTP/1.0 200 OK
How do I send this POST message and how do I listen to the unit response? I appreciate any help.