/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 | upload-file.md | 10 Multi: per-URL 17 - -T file $URL 19 - --upload-file "{file1,file2}" $URL 20 - -T file -T file2 $URL $URL 25 Upload the specified local file to the remote URL. 27 If there is no file part in the specified URL, curl appends the local file 28 name to the end of the URL before the operation starts. You must use a 42 If this option is used with an HTTP(S) URL, the PUT method is used. 44 You can specify one --upload-file for each URL on the command line. Each 47 multiple files to a single URL by using the same URL globbing style supported [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 | 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 | url.md | 6 Help: URL to work with 14 - --url $URL 19 Specify a URL to fetch or send data to. 21 If the given URL is missing a scheme (such as `http://` or `ftp://` etc) curl 25 providing a full URL including the scheme, or disabled by setting a default 28 To control where the contents of a retrieved URL is written instead of the 30 multiple URLs in a single invoke, each provided URL needs its own dedicated
|
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 | next.md | 10 Help: Make next URL use separate 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,
|
H A D | doh-url.md | 5 Arg: <URL> 13 - --doh-url https://doh.example $URL 14 - --doh-url https://doh.example --resolve doh.example:443:192.0.2.1 $URL 20 instead of using the default name resolver mechanism. The URL must be HTTPS. 29 This option is unset if an empty string "" is used as the URL.
|
/curl/docs/libcurl/ |
H A D | curl_url_set.md | 21 curl_url_set - set a URL part 40 URL object the handle identifies. 45 encoding they would use in a URL: URL encoded. 65 URL. 74 populated with a URL, the new URL can be relative to the previous. 92 the URL. 94 When a full URL is set (parsed), the hostname component is stored URL decoded. 171 first '=' symbol is not URL encoded. 181 **scheme**, **port** and **URL**. 230 If set, the URL parser allows space (ASCII 32) where possible. The URL syntax [all …]
|
H A D | libcurl-url.md | 22 libcurl-url - URL interface overview 26 The URL interface provides functions for parsing and generating URLs. 34 Create a handle that holds URL info and resources with curl_url(3): 55 By setting a URL to the handle with curl_url_set(3), the URL is parsed 69 When a handle already contains info about a URL, setting a relative URL makes 75 # GET URL 111 A user set individual URL parts, either after having parsed a full URL or 126 Set parts are not URL encoded unless the user asks for it with the 134 Imagine a handle that holds the URL "https://example.com/?shoes=2". An 142 handle's full URL then equals "https://example.com/?shoes=2&hat=1". [all …]
|
H A D | curl_easy_escape.md | 18 curl_easy_escape - URL encode a string 30 This function converts the given input *string* to a URL encoded string and 32 A-Z, 0-9, '-', '.', '_' or '~' are converted to their "URL escaped" version 45 URL encoded version without knowledge or care for what particular character 54 URLs are by definition *URL encoded*. To create a proper URL from a set of 55 components that may not be URL encoded already, you cannot just URL encode the 56 entire URL string with curl_easy_escape(3), because it then also converts 59 To create a proper URL from strings that are not already URL encoded, we 60 recommend using libcurl's URL API: set the pieces with curl_url_set(3) and get 61 the final correct URL with curl_url_get(3).
|
H A D | curl_url.md | 21 curl_url - create a URL handle 33 This function allocates a URL object and returns a *CURLU* handle for it, 34 to be used as input to all other URL API functions. 36 This is a handle to a URL object that holds or can hold URL components for a 37 single URL. When the object is first created, there is of course no components
|
H A D | curl_url_get.md | 21 curl_url_get - extract a part from a URL 37 piece or the full URL from it. 69 does not decode the scheme, the port number or the full URL. 82 If set, curl_url_get(3) URL encodes the hostname part when a full URL is 87 Note that even when not asking for URL encoding, the '%' (byte 37) is URL 133 used parsing a URL. 150 possibly cleaned up version using all available URL parts. 156 Zero-length queries and fragments are excluded from the URL unless 161 Scheme cannot be URL decoded on get. 196 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 | 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 | 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 | 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()
|