We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
正确响应的情况
$ch = curl_init(); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_URL, 'https://fees.uspto.gov/mntfee-services/v1/maintenancefee/details?patentNumber=8690232&applicationNumber=13869358'); curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd() . "/cookies.txt"); curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd() . "/cookies.txt"); $result = curl_exec($ch); dump($result);
未能正确响应
$response = SaberGM::get('https://fees.uspto.gov/mntfee-services/v1/maintenancefee/details?patentNumber=8690232&applicationNumber=13869358'); dump($response->getStatusCode()); dump($response->getBody()->getContents());
经过2次跳转后,正常结果应该是json文本。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
正确响应的情况
未能正确响应
经过2次跳转后,正常结果应该是json文本。
The text was updated successfully, but these errors were encountered: