Skip to content
New issue

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

Requested url contains trailing "?" #10

Closed
zborboa-g opened this issue Dec 13, 2013 · 0 comments
Closed

Requested url contains trailing "?" #10

zborboa-g opened this issue Dec 13, 2013 · 0 comments

Comments

@zborboa-g
Copy link
Contributor

The get, put, and delete methods include a trailing question mark when making the corresponding http request is called. The request should not call the url with a trailing ? unless it is explicitly specified in the url.

$this->setopt(CURLOPT_URL, $url . '?' . http_build_query($data));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant