src/Service/Baidu/OCRManager.php
protected function request($url, array $options = [])
    {
        $httpClient = new Http;

        try {
            $response = $httpClient->request('POST', $url, [
                'form_params' => $options,
                'query' => [$this->accessToken->getQueryName() => $this->accessToken->getAccessToken(true)]
            ]);
        } catch (\GuzzleHttp\Exception\ClientException $e) {
            if ($e->hasResponse()) {
                $response = $e->getResponse();
            } else {
                throw $e;
            }
        }


        return $httpClient->parseJson($response);
    }
protected function request($url, array $options = [])
    {
        $httpClient = new Http;

        try {
            $response = $httpClient->request('POST', $url, [
                'form_params' => $options,
                'query' => [$this->accessToken->getQueryName() => $this->accessToken->getAccessToken(true)]
            ]);
        } catch (\GuzzleHttp\Exception\ClientException $e) {
            if ($e->hasResponse()) {
                $response = $e->getResponse();
            } else {
                throw $e;
            }
        }


        return $httpClient->parseJson($response);
    }
Append access_token to this url

@param  string $url

@return string