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
When making a request using, say, the 'patch' method, if specified in lowercase it returns BAD REQUEST. If changed to uppercase it works.
Fix is simple. Line 118 in Vimeo.php needs to also use strtoupper, (not just the switch/case block)
$curl_opts = array( CURLOPT_POST => true, CURLOPT_CUSTOMREQUEST => strtoupper($method), CURLOPT_POSTFIELDS => $body );
The text was updated successfully, but these errors were encountered:
Nice catch, we'll get this added!
Sorry, something went wrong.
Allow lowercase http verbs in requests. #108
38d1068
d13bc21
No branches or pull requests
When making a request using, say, the 'patch' method, if specified in lowercase it returns BAD REQUEST. If changed to uppercase it works.
Fix is simple. Line 118 in Vimeo.php needs to also use strtoupper, (not just the switch/case block)
$curl_opts = array(
CURLOPT_POST => true,
CURLOPT_CUSTOMREQUEST => strtoupper($method),
CURLOPT_POSTFIELDS => $body
);
The text was updated successfully, but these errors were encountered: