Next Topic

Previous Topic

Book Contents

Get

int Get(string sUrl,string sHeaders=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

  • sUrl - URL relative to the base url of the site.
  • sHeaders - Optional header string containing headers to be sent with the request.

Remarks

The connection is always opened in the context of the object, therefore the URL supplied to the function must be relative the base URL.