HttpClient data type

Official Content
This documentation is valid for:

This data type allows to build a request, send it to a URL and read the results. 

This object reflects an HTTP connection.


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

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


AddAuthentication AddVariable
AddFile Execute
AddHeader GetHeader
AddProxyAuthentication ToFile
AddString ToString


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


This data type is available as of GeneXus X

  • As of GeneXus 15 these methods can be used from offline procedures in Smart Devices apps. 
  • As of GeneXus 15 upgrade 12 these methods can be used in the user-defined event of Smart Devices apps. 


See Consuming a Rest Service with GeneXus

See also

HttpResponse data type
HttpRequest data type