Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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':