1CURLOPT_PUT(3) curl_easy_setopt options CURLOPT_PUT(3)
2
3
4
6 CURLOPT_PUT - make an HTTP PUT request
7
9 #include <curl/curl.h>
10
11 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PUT, long put);
12
14 A parameter set to 1 tells the library to use HTTP PUT to transfer
15 data. The data should be set with CURLOPT_READDATA(3) and CUR‐
16 LOPT_INFILESIZE(3).
17
18 This option is deprecated since version 7.12.1. Use CURLOPT_UPLOAD(3)!
19
21 0, disabled
22
24 HTTP
25
27 Deprecated since 7.12.1. Do not use.
28
30 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
31
33 CURLOPT_UPLOAD(3), CURLOPT_HTTPGET(3),
34
35
36
37libcurl 7.69.1 April 17, 2018 CURLOPT_PUT(3)