Success (HttpResponse function)
Jump to navigation Jump to search
Check status code value of most recent request (HttpResponse class)
%number = httpResponse:Success
|%number||A numeric variable for the assignment of the Success value of httpResponse. Success returns 1 (True) if the HTTP status code is in the 200s (success range), and it returns 0 (False) otherwise.|
|httpResponse||A reference to an HttpResponse object that was returned by a Get, Post, or Send method of an HttpRequest object.|
- If Success returns 1 (True), content was retrieved and is available via the Content and ParseXml methods.