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

Small bug with POST data #2

Open
kamicollo opened this issue Jan 30, 2011 · 3 comments
Open

Small bug with POST data #2

kamicollo opened this issue Jan 30, 2011 · 3 comments

Comments

@kamicollo
Copy link

Hi,

I believe the current version has a small bug in lines 83 and 84. The curl handle there should be not $request, but $ch.

Cheers,

Aurimas

@petewarden
Copy link
Owner

Thanks Aurimas, good catch! I've put in that fix, hopefully it works for you now?

I did look at adding that to the test case as well, but I don't know any unauthenticated public web sites that respond to POST requests.

@kamicollo
Copy link
Author

Yup, it works now. I just think the documentation could benefit from adding a few lines about the POST feature - now it's not mentioned there.

Aurimas

@petewarden
Copy link
Owner

Good point. I've added a short note to the documentation about POST calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants