HTTPClient¶
Properties¶
Property  | 
Description  | 
|---|---|
  | 
Username to use in requests  | 
  | 
Password for the user  | 
  | 
Timeout connecting to the host (seconds)  | 
  | 
Timeout while fetching the response (seconds)  | 
  | 
Specify if we should get compressed response  | 
Methods¶
All methods returns a HTTPResponse, and takes a url for the address we should call.
Signature  | 
Description  | 
|---|---|
post(url, postContent, postContentType)  | 
Make a POST call with postContent as body  | 
get(url)  | 
Make a GET call  | 
get(url, headers)  | 
Make a GET call with the additional headers  |