company logo

HTTP - Internet protocol

The class supports exchanging data with WEB servers. Calling get or post submits requests to a WEB server and receives requested data from the server. When the request failed, detailed error reason may be obtained from the returned header.

After running a HTTP request, the request returns a general execution code, which is true as long as the communication had been established successfully (i.e. also when the HTTP request failed). In order to get the HTTP return code for the request, httpCode() may be called, when the request terminated without error.

Attributes
    Functions