Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I did this
Copie/Paste the example...
I expected the following
I expect the example to work... it does not!
In fact there is a typo (same one in POSTQUOTE and QUOTE)
The curl_easy_setopt call should be instead:
Alternatively, the example could start with:
... which is probably a better option because 'headerlist' is a more self descriptive variable than 'h':