Will automatically authenticate when receiving a 401 HTTP status code
then continue retrying sending initial request.
public send ( string $method, string $path = null, array $data = [], array $options = [] ) : string | ||
$method | string | |
$path | string | |
$data | array | the parameters for the request. For GET/DELETE this is the query string for POST/PUT this is the body |
$options | array | passed to request and socket |
Результат | string |