Script Packager Object Model Reference

IHttpRequest.Send Method 

Send the request and wait for the response

IHttpResponse Send(
   IRequestAuthorization Authorization,
   bool EnsureSuccessStatusCode
);

Parameters

Authorization
Request authorization returned the OpenIdConnectLogin function
EnsureSuccessStatusCode
Report an error if the HTTP status code is not successful

Return Value

The received HttpResponse object

Remarks

The Send method will only return when a response have been received or when the request timeout expires. By default EnsureSuccessStatusCode is True and the response is automatically validated to ensure it is successful. If it is not successful then an error is reported. If it is neccessary to have access to the HTTP response that was returned the EnsureSuccessStateCode property should be specified as False.

See Also

IHttpRequest Interface | Intelligence.FuncLibs.Http.HttpRequest Namespace