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.