execute
Runs the HTTP query.
execute
( [hasProxy
] [, async
] [, timeout
] [, context
])
Parameters
hasProxy
Boolean to true if you need to use a proxy HTTP. By default set to false.
async
Boolean set to true if the query is asynchronous. Set to false by default.
timeout
Maximum wait time in milliseconds in case of an asynchronous query. If this parameter isn't defined, the wait time is 5 minutes.
context
The context is any object that will be forwarded to the second argument of the complete function in case of an asynchronous query. Set to null by default.
Return value
None.
Remarks
var http = new HttpClientRequest("http://www.google.com")
http.method = "GET"
// Note: Here, http.response == undefined
http.execute()
var response = http.response
Features
Method of class: HttpClientRequest
Available in:
- Content management
- Delivery properties
- Typology rule
- JSSP
- SOAP Method
- WebApp
- Workflow