Code (HttpResponse function)
Check HTTP status code of most recent request (HttpResponse class)
The Code method lets you examine the HTTP status code value in the status line of the result of the most recent HTTP request. Code returns only the code portion of the status line (for example, "200").
%string = httpResponse:Code
|%string||A string, longstring, or numeric variable for the assignment of the current Code value of httpResponse.|
|httpResponse||A reference to an HttpResponse object that was returned by a Get, Post, or Send methods of an HttpRequest object.|