aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/post-callback.c
AgeCommit message (Collapse)Author
2017-09-21examples/post-callback: use long for CURLOPT_POSTFIELDSIZEMarcel Raad
Otherwise, typecheck-gcc.h warns on MinGW-w64.
2017-09-04examples/post-callback: stop returning one byte at a timeDaniel Stenberg
... since people copy and paste code from this example and thus they get an inefficient POST operation without a good reason and sometimes without understanding why. Instead this now returns as much data as possible.
2017-04-30examples: declare TU-local variables staticMarcel Raad
This fixes missing-variable-declarations warnings when building with clang.
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2015-07-01examples: provide <DESC> sectionsDaniel Stenberg
2012-12-05examples: fix compilation issues - commit 23f8dca6fb follow-upYang Tse
2012-07-12Added error checking for curl_global_init().Guenter Knauf
2012-07-12Added curl_global_* functions.Guenter Knauf
2012-07-04Added error checking for samples.Guenter Knauf
2012-04-13examples: fix compiler warningsYang Tse
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2010-10-05examples: use example.com in example URLsDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2008-05-22Fixed a surprising number of example programs that were passing int argumentsDan Fandrich
to curl_easy_setopt instead of long.
2008-04-12return 0 not -1 at end of data!Daniel Stenberg
2008-03-13fix code that is normally #ifdef'ed outDaniel Stenberg
2007-07-16Fixed some more simple compile warnings in the examples.Dan Fandrich
2007-07-12Fixed some compile warnings and errors and improved portability in theDan Fandrich
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
2005-12-14Rene Bernhardt's correctionsDaniel Stenberg
2004-08-23lost of more into on how to tweak some headersDaniel Stenberg
2003-12-08removed old version checksDaniel Stenberg
2003-12-08use the newer option namesDaniel Stenberg
2002-03-14new example for libcurl 7.9.6 or laterDaniel Stenberg