From OpenSCADAWiki
Or following different functions separately for GET and POST methods:
- void HTTP_GET(const string &uri, string &page, vector<string> &vars, const string &user, TProtocolIn *iprt); OR
- void HttpGet( const string &uri, string &page, const string &sender, vector<string> &vars, const string &user ); 鈥 GET method with the parameters:
- uri 鈥 local address of the request;
- page 鈥 page with the answer;
- sender 鈥 address of the sender;
- vars 鈥 variables of the request;
- user 鈥 user, can contain previous user in the second line;
- iprt 鈥 pointer to an input part object of the protocol.