public get ( mixed $url, array $params = [], array $headers = [] ) : object | string |
$url |
mixed |
URL to request |
$params |
array |
GET params to add to the URL |
$headers |
array |
HTTP headers to use |
Результат |
object | string |
Response sent by the server. If it's JSON, we'll decode it |