/curl/docs/cmdline-opts/ |
H A D | referer.md | 6 Arg: <URL> 8 Help: Referrer URL 16 - --referer "https://fake.example" $URL 17 - --referer "https://fake.example;auto" -L $URL 18 - --referer ";auto" -L $URL 23 Set the referrer URL in the HTTP request. This can also be set with the 25 the --referer URL to make curl automatically set the previous URL when it
|
H A D | data-urlencode.md | 6 Help: HTTP POST data URL encoded 15 - --data-urlencode name=val $URL 16 - --data-urlencode =encodethis $URL 17 - --data-urlencode name@file $URL 18 - --data-urlencode @fileonly $URL 24 performs URL-encoding. 31 URL-encode the content and pass that on. Just be careful so that the content 36 URL-encode the content and pass that on. The preceding `=` symbol is not 40 URL-encode the content part and pass that on. Note that the name part is 41 expected to be URL-encoded already. [all …]
|
H A D | url-query.md | 6 Help: Add a URL query part 15 - --url-query name=val $URL 17 - --url-query name@file $URL 18 - --url-query @fileonly $URL 19 - --url-query "+name=%20foo" $URL 24 Add a piece of data, usually a name + value pair, to the end of the URL query 31 The query part of a URL is the one following the question mark on the right
|
H A D | upload-file.md | 17 - -T file $URL 19 - --upload-file "{file1,file2}" $URL 24 Upload the specified local file to the remote URL. 26 If there is no file part in the specified URL, curl appends the local file 27 name to the end of the URL before the operation starts. You must use a 32 When putting the local filename at the end of the URL, curl ignores what is on 41 If this option is used with an HTTP(S) URL, the PUT method is used. 43 You can specify one --upload-file for each URL on the command line. Each 44 --upload-file + URL pair specifies what to upload and to where. curl also 46 multiple files to a single URL by using the same URL globbing style supported [all …]
|
H A D | get.md | 6 Help: Put the post data in the URL and use GET 15 - --get $URL 16 - --get -d "tool=curl" -d "age=old" $URL 17 - --get -I -d "tool=curl" $URL 24 that otherwise would be used. curl appends the provided data to the URL as a 28 URL with a HEAD request.
|
H A D | disallow-username-in-url.md | 5 Help: Disallow username in URL 12 - --disallow-username-in-url $URL 17 Exit with error if passed a URL containing a username. Probably most useful 18 when the URL is being provided at runtime or similar.
|
H A D | url.md | 6 Help: URL to work with 14 - --url $URL 19 Specify a URL to fetch. 21 If the given URL is missing a scheme name (such as `http://` or `ftp://` etc) 24 otherwise HTTP is used. Guessing can be avoided by providing a full URL 28 To control where this URL is written, use the --output or the --remote-name
|
H A D | next.md | 10 Help: Make next URL use its separate set of options 17 - $URL --next -d postthis www2.example.com 18 - -I $URL --next https://example.net/ 23 Use a separate operation for the following URL and associated options. This 24 allows you to send several URL requests, each with their own specific options,
|
/curl/docs/libcurl/ |
H A D | libcurl-url.md | 21 libcurl-url - URL interface overview 25 The URL interface provides functions for parsing and generating URLs. 33 Create a handle that holds URL info and resources with curl_url(3): 54 By setting a URL to the handle with curl_url_set(3), the URL is parsed 68 When a handle already contains info about a URL, setting a relative URL makes 74 # GET URL 110 A user set individual URL parts, either after having parsed a full URL or 125 Set parts are not URL encoded unless the user asks for it with the 141 handle's full URL then equals "https://example.com/?shoes=2&hat=1". 153 Now the URL looks like [all …]
|
H A D | curl_url_set.md | 20 curl_url_set - set a URL part 39 URL object the handle identifies. 44 encoding they would use in a URL: URL encoded. 64 URL. 73 populated with a URL, the new URL can be relative to the previous. 76 is replaced with the components of the newly set URL. 91 the URL. 168 first '=' symbol is not URL encoded. 178 **scheme**, **port** and **URL**. 219 If set, the URL parser allows space (ASCII 32) where possible. The URL syntax [all …]
|
H A D | curl_url.md | 20 curl_url - returns a new URL handle 32 This function allocates a URL object and returns a *CURLU* handle for it, 33 to be used as input to all other URL API functions. 35 This is a handle to a URL object that holds or can hold URL components for a 36 single URL. When the object is first created, there is of course no components
|
H A D | curl_url_get.md | 20 curl_url_get - extract a part from a URL 36 piece or the full URL from it. 68 does not decode the scheme, the port number or the full URL. 81 If set, curl_url_get(3) URL encodes the hostname part when a full URL is 86 Note that even when not asking for URL encoding, the '%' (byte 37) is URL 132 used parsing a URL. 149 possibly cleaned up version using all available URL parts. 155 Zero-length queries and fragments are excluded from the URL unless 160 Scheme cannot be URL decoded on get. 195 in the URL. A URL path always starts with a slash. [all …]
|
/curl/tests/data/ |
H A D | test1559 | 26 Set excessive URL lengths 37 CURLOPT_URL 10000000 bytes URL == 43 39 CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function) 40 CURLUPART_SCHEME 10000000 bytes scheme == 3 (Malformed input to a URL function) 41 CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
|
H A D | test829 | 5 CRLF-in-URL 15 IMAP with URL-encoded CR LF in the URL
|
H A D | test875 | 5 CRLF-in-URL 15 POP3 with URL-encoded CR LF in the URL
|
H A D | test931 | 5 CRLF-in-URL 15 SMTP with URL-encoded CR LF in the URL
|
/curl/tests/libtest/ |
H A D | libprereq.c | 54 CURLcode test(char *URL) in test() argument 67 if(strstr(URL, "#ipv6")) { in test() 71 if(strstr(URL, "#err")) { in test() 76 curl_easy_setopt(curl, CURLOPT_URL, URL); in test() 81 if(strstr(URL, "#redir")) { in test()
|
H A D | lib661.c | 27 CURLcode test(char *URL) in test() argument 48 newURL = aprintf("%s/folderA/661", URL); in test() 58 newURL = aprintf("%s/folderB/661", URL); in test() 75 newURL = aprintf("%s/folderA/661", URL); in test() 86 newURL = aprintf("%s/folderB/661", URL); in test() 94 newURL = aprintf("%s/folderA/661", URL); in test() 118 test_setopt(curl, CURLOPT_URL, URL); in test() 137 test_setopt(curl, CURLOPT_URL, URL); in test() 150 test_setopt(curl, CURLOPT_URL, URL); in test()
|
H A D | lib570.c | 33 CURLcode test(char *URL) in test() argument 56 test_setopt(curl, CURLOPT_URL, URL); in test() 60 stream_uri = suburl(URL, request++); in test() 81 stream_uri = suburl(URL, request++); in test() 96 stream_uri = suburl(URL, request++); in test()
|
H A D | lib1903.c | 31 CURLcode test(char *URL) in test() argument 39 easy_setopt(ch, CURLOPT_URL, URL); in test() 47 easy_setopt(ch, CURLOPT_URL, URL); in test()
|
H A D | lib572.c | 44 CURLcode test(char *URL) in test() argument 72 test_setopt(curl, CURLOPT_URL, URL); in test() 75 stream_uri = suburl(URL, request++); in test() 90 stream_uri = suburl(URL, request++); in test() 125 stream_uri = suburl(URL, request++); in test() 140 stream_uri = suburl(URL, request++); in test() 159 stream_uri = suburl(URL, request++); in test()
|
H A D | lib1960.c | 71 CURLcode test(char *URL) in test() argument 80 if(!strcmp("check", URL)) in test() 130 test_setopt(curl, CURLOPT_URL, URL); in test() 143 CURLcode test(char *URL) in test() argument 145 (void)URL; in test()
|
H A D | lib1557.c | 30 CURLcode test(char *URL) in test() argument 44 easy_setopt(curl1, CURLOPT_URL, URL); in test() 48 easy_setopt(curl2, CURLOPT_URL, URL); in test()
|
H A D | lib567.c | 31 CURLcode test(char *URL) in test() argument 54 test_setopt(curl, CURLOPT_URL, URL); in test() 55 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); in test()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_URL.md | 23 CURLOPT_URL - URL for this transfer 30 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_URL, char *URL); 35 Pass in a pointer to the *URL* to work with. The parameter should be a 36 char * to a null-terminated string which must be URL-encoded in the following 43 libcurl does not validate the syntax or use the URL until the transfer is 53 Should the protocol, either as specified by the URL scheme or deduced by 73 The parser used for handling the URL set with CURLOPT_URL(3) is the same 90 There is no default URL. If this option is not set, no transfer can be 98 Getting a URL from an external untrusted party brings several security 107 are part of the regular URL format. The combination of a local host and a [all …]
|