This function adds authentication data to the request and executes it.
Syntax
requestWithAuth(request)
Arguments
request
HttpRequest object
Return value
If the operation was successful it returns the body of the server's response.
If unsuccessful it returns false.
Examples
Use lastError() function to get the error details. If the server returns an error, lastError() returns the whole server response, header and the body.
set request = (CreateClass("HttpRequest",5,"https://api.service.com/resource","GET",Empty,Empty,Empty,Empty,Empty))
set rconn = getRESTConn()
set response = rconn.requestWithAuth_p1(request)