Using the response
The request method returns an object if the request was successful. Unless otherwise specified, the response body is in JSON format. Some endpoints do not return a response body. In those cases, only an HTTP status code is returned.