Next Topic

Previous Topic

Book Contents

Post

int Post(string sUrl,string sHeaders=NULL,string sData=NULL)

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

Remarks

The connection is always opened in the context of the device, therefore the URL supplied to the function must be relative the base URL. Each header supplied must be ended with a CR/LF pair.