request()
request(string $method, string $url, array $data = array()) : \Psr\Http\Message\ResponseInterface
Send a request and return the response.
Parameters
string | $method | The HTTP verb to use for the request |
string | $url | The url to issue the request to (https://api.github.com is optional) |
array | $data | The parameters to send with the request |