HttpClient data type

Official Content
This documentation is valid for:

Builds a request, send it to a URL, and read the results.

This object reflects an HTTP connection.

Properties

BaseURL ProxyServerHost and ProxyServerPort
Basic and Digest ReasonLine
ErrCode Secure
ErrDescription StatusCode
Host Timeout
Port  


The URL format is the following: http://Host:Port/BaseUrl/Resource

Methods

AddAuthentication AddVariable
AddFile Execute
AddHeader GetHeader
AddProxyAuthentication ToFile
AddString ToString

Scope

Objects Procedure object, Transaction object, Web Panel objectWork with for Web, Work With objectPanel object
Platforms  Web(.NET, Java, NET Core), Smart Devices(Android, IOS).
   

Availability

This data type is available since GeneXus X

Sample

See Consuming a Rest Service with GeneXus

See also

HttpResponse data type
HttpRequest data type