Lines Matching refs:to
21 CURLOPT_POSTFIELDS - data to POST to server
33 Pass a char pointer as parameter, pointing to the data buffer to use in an
35 encoded the way you want the server to receive it. libcurl does not convert or
39 The data pointed to is NOT copied by the library: as a consequence, it must be
48 You can use curl_easy_escape(3) to URL encode your data, if
49 necessary. It returns a pointer to an encoded string that can be passed as
52 Using CURLOPT_POSTFIELDS(3) implies setting CURLOPT_POST(3) to 1.
54 If CURLOPT_POSTFIELDS(3) is explicitly set to NULL then libcurl gets the POST
56 CURLOPT_POSTFIELDS(3) to an empty string, or set CURLOPT_POST(3) to 1 and
57 CURLOPT_POSTFIELDSIZE(3) to 0.
59 libcurl assumes this option points to a null-terminated string unless you also
60 set CURLOPT_POSTFIELDSIZE(3) to specify the length of the provided data, which
61 then is strictly required if you want to send off null bytes included in the
65 and libcurl adds that header automatically if the POST is either known to be
73 previous ones. Set it to NULL to disable its use again.
89 const char *data = "data to send";
96 /* pass in a pointer to the data - libcurl does not copy */
115 /* pass in a pointer to the data - libcurl does not copy */