APIhttpresponseokHTTPResponse.ok() methodSignature:ok(): boolean;Returns:booleanTrue if the response was successful (status in the range 200-299).