request()
request(string $method, string $url, array $data = array()) : \stdClass
Send a request to the API.
Parameters
string | $method | The HTTP method of the request |
string | $url | The endpoint to send the request to |
array | $data | Any additional data to send with the request |