Availability
This routine is available starting with katl-commons 4.0.17
Syntax
httpGet(url, request)
Description
Executes a HTTP GET for the given URL using the specified HttpRequest object.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
url | string | Yes | The URL. |
request | HttpRequest | Yes | A HttpRequest object containing headers, cookies, parameters. |
The request parameter should have the type HttpRequest described here.
Return type
variable return type - depending on the left hand side operator type
Example
You can check whether something exists in the external system. for instance, you can check whether a certain user exists in Salesforce and get the user parameters if such exist.
See also