Example:
var response = services.rest.get("http://example.com/rest/users"); if(response.isSuccess()) { //do something } else { //show error }
returns boolean
Example: