From OpenSCADAWiki
Jump to: navigation, search
  • void HTTP_POST(const string &uri, string &page, vector<string> &vars, const string &user, TProtocolIn *iprt); OR
void HttpPost( const string &uri, string &page, const string &sender, vector<string> &vars, const string &user ); 鈥 POST method with the parameters:
uri 鈥 local address of the request;
page 鈥 page with the answer and with the content of the body of the POST request;
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.