All tags
curl
Narrow down
Network66
- Tip
curl --trace-ascii - https://example.com/curl --trace-ascii dumps all sent and received data as readable textWrites a readable log of everything curl sends and receives, headers and body included.3 Dec 2026 - Tip
Retry-After: 120Retry-After tells clients how long to wait, and curl --retry obeys itThe Retry-After header sets how long a client should wait, and curl --retry follows it.3 Dec 2026 - Tip
curl -fsS --fail-early \curl fail-early stops at the first broken URL in a batchMake a multi URL curl command exit with an error as soon as one transfer fails.30 Nov 2026 - Tip
url = "https://example.com/data/latest.json"A curl config file can download a list of URLs, each under its own namePut url and output pairs in one file and fetch them all with one command.30 Nov 2026 - Tip
curl -4 -s -o /dev/null -w '%{remote_ip} %{http_code}\n' https://example.com/curl -4 and -6 test a site over IPv4 and IPv6 separatelyCheck that a site answers on both address families, not just the one your machine prefers.30 Nov 2026 - Tip
curl -q -fsS https://example.com/api/statuscurl -q as the first option ignores your .curlrcMake a script behave the same on every machine, whatever the local curl config says.30 Nov 2026 - Tip
curl dict://dict.org/d:latencycurl dict:// looks up a word in an online dictionaryQuery a DICT server for word definitions straight from the terminal.30 Nov 2026 - Tip
openssl x509 -in server.pem -pubkey -noout \Curl pinnedpubkey refuses a server whose key is not the one you expectPin the server's public key, so even a valid certificate with another key is refused.30 Nov 2026 - Tip
curl -sL -D headers.txt -o page.html https://example.com/curl -D saves the response headers next to the downloadKeep the headers of a download in a separate file while the body goes to its own file.30 Nov 2026 - Tip
curl -x socks5h://localhost:1080 https://intranet.example.com/curl socks5h:// lets the proxy look up the host name tooSend both the request and the name lookup through a SOCKS proxy, so DNS does not leak.30 Nov 2026 - Tip
curl --cert client.pem --key client.key https://api.example.com/statuscurl cert and key log in to a server that wants a client certificateUse your own certificate and key to pass mutual TLS checks on an API or proxy.30 Nov 2026 - Tip
curl --xattr -O https://example.com/tools/file.tar.gzcurl can write the download URL into the file itselfStore where a file came from in its extended attributes, so you can look it up later.30 Nov 2026 - Tip
curl --doh-url https://dns.quad9.net/dns-query \curl doh-url looks up the host name over DNS over HTTPSLet one curl command resolve names through a DoH server instead of the system resolver.30 Nov 2026 - Tip
curl --rate 2/s -O 'https://example.com/archive/page[1-20].html'curl rate limits how many requests it starts per secondSpace out a series of requests so an API or small server is not hit all at once.30 Nov 2026 - Tip
curl --no-clobber -O https://example.com/report.pdfcurl no-clobber keeps the old file and gives the new download a numberKeep the file you already have and let the new download land under a numbered name.30 Nov 2026 - Tip
curl -F '[email protected];type=image/jpeg' \curl -F uploads a file the way an HTML form doesSend a multipart form with a file field, a text field and a content type.30 Nov 2026 - Tip
curl --speed-limit 1000 --speed-time 30 -O https://example.com/images/big.isocurl speed-limit aborts a download that has stalledStop a transfer that crawls along at almost nothing, without capping the total time.30 Nov 2026 - Tip
curl -s -o /dev/null -w '%{json}' https://example.com/ | jq .curl -w %{json} dumps every transfer detail as one JSON objectGet all write-out values at once and pick fields with jq.30 Nov 2026 - Tip
curl -s -o /dev/null \curl -w %{onerror} prints a message only when the request failedStay quiet on success and print the exit code and error text on failure.30 Nov 2026 - Tip
curl --libcurl code.c -s -H 'Accept: application/json' https://example.com/api/itemscurl libcurl turns a working command into C codeGet the libcurl options behind a command line, as a starting point for your own code.30 Nov 2026 - Tip
file=$(curl -fsSLOJ -w '%{filename_effective}' "https://example.com/download?id=4812")Curl -w with filename_effective prints the name it really savedFind out which file name curl chose, so the next step in a script can use it.30 Nov 2026 - Tip
curl -L -d 'name=test' https://example.com/oldcurl -L turns your POST into a GET after a redirectKeep a POST a POST when curl follows a 301, 302 or 303.30 Nov 2026 - Tip
curl -fsS -H "X-Api-Key: $KEY" http://localhost:9696/api/v1/health | jq -r '.[] | "\(.type): \(.message)"'curl the Prowlarr API to see health warnings and failing indexersRead Prowlarr's health checks and disabled indexers from a script, with the API key in a header.30 Nov 2026 - Tip
curl -X DELETE https://api.example.com/items/42curl -X only changes the method name, not what curl doesKnow when -X helps and when it quietly breaks a request.30 Nov 2026 - Tip
curl -s -o /dev/null \curl -w %output{} appends a log line to a file for every requestWrite the status line of each check to a log file, while the body goes elsewhere.30 Nov 2026 - Tip
curl --hsts ~/.curl-hsts https://example.com/curl hsts remembers which sites must be HTTPS, like a browser doesKeep an HSTS cache file so curl upgrades plain http URLs for sites that asked for it.30 Nov 2026 - Tip
curl -s -o /dev/null -w '%header{cache-control}\n' https://example.com/curl -w %header{} prints just the header value you ask forRead one response header in a script without grep, cut or carriage returns.30 Nov 2026 - Tip
curl --url-query 'q=hello world' \curl url-query adds encoded parameters to any requestAppend query string parts to a URL that already has some, with encoding done for you.30 Nov 2026 - Tip
curl -s 'https://example.com/api/items?ids[0]=4'curl -g stops brackets and braces in a URL from being read as a patternSend a URL with square brackets or curly braces exactly as you typed it.30 Nov 2026 - Tip
curl --parallel --remote-name-all \curl -Z runs several downloads in parallelStarts every download on the command line at once instead of waiting for each one to finish.28 Nov 2026 - Tip
curl --etag-save etag.txt --etag-compare etag.txt \curl --etag-save and --etag-compare skip a download that has not changedStores a download's ETag and sends it next time, so an unchanged file is not fetched again.28 Nov 2026 - Tip
|| { echo "request failed: $resp" >&2; exit 1; }Curl --fail-with-body keeps the error page and still returns exit code 22Makes curl exit with code 22 on an HTTP error but still prints the server's error message.28 Nov 2026 - Tip
curl --create-dirs -o /mnt/user/appdata/<app>/downloads/2026/data.zip \curl --create-dirs makes the folder for your -o pathCreates the missing folders of a download path so you do not need a separate mkdir.28 Nov 2026 - Tip
curl --proto =https --proto-redir =https -L -o install.sh https://example.com/install.shcurl --proto =https refuses anything but HTTPSLimits curl and its redirects to HTTPS so a link can never downgrade to plain HTTP.28 Nov 2026 - Tip
curl --variable [email protected] \curl --variable and --expand-data fill a request from variablesLets curl hold variables and insert them, correctly escaped, into the URL or request body.28 Nov 2026 - Tip
curl https://example.com/ --next -d 'name=test' https://example.com/api/itemscurl --next sends two different requests in one commandSplits one curl command into separate requests that each keep their own options.28 Nov 2026 - Tip
curl -R -z feed.xml -o feed.xml https://example.com/feed.xmlcurl -z downloads a file only if it is newer than the one you haveDownloads a file only when the server's copy is newer than your local file.28 Nov 2026 - Tip
curl -T backup.tar.gz https://example.com/uploads/curl -T uploads a file with a PUT requestUploads a local file to a URL with a PUT request, with the file name added for you.28 Nov 2026 - Tip
curl --max-filesize 50M -O https://example.com/blocklist.txtcurl --max-filesize refuses a download that is bigger than you expectStops curl from downloading a file that is larger than the size limit you set.28 Nov 2026 - Tip
https://example.com/file[1-100].txtCurl URL ranges like [01-05] with -o #1 fetch a numbered seriesExpands ranges and lists inside a URL so curl downloads a whole numbered series in one command.28 Nov 2026 - Tip
method:POSTCopy all listed as cURL turns a filtered Network view into shell commandsCopies every request still visible in a filtered Network list as cURL commands.28 Nov 2026 - Tip
curl --fail --remove-on-error -o /mnt/user/appdata/<app>/list.txt https://example.com/list.txtcurl --remove-on-error deletes the half-written file after a failureRemoves the output file when a curl transfer fails, so no half-downloaded file is left to use.28 Nov 2026 - Tip
curl --skip-existing --create-dirs --parallel --remote-name-all \curl --skip-existing leaves a file alone when it is already thereMakes curl skip a download when a file with that name already exists locally.28 Nov 2026 - Tip
curl -L --limit-rate 2M -O https://example.com/images/debian.isocurl --limit-rate keeps a big download from eating your whole connectionCaps the speed of a curl download or upload so the rest of the network stays usable.27 Nov 2026 - Tip
curl -L -OJ --output-dir ~/Downloads "https://example.com/download?id=4812"curl -OJ saves a download under the name the server gives itSaves a curl download with the filename from the Content-Disposition header instead of the URL.27 Nov 2026 - Tip
curl "http://192.168.1.x:9696/11/api?t=caps&apikey=YOUR_API_KEY"Every Prowlarr indexer has its own Torznab URL you can curlQueries one Prowlarr indexer directly as a Torznab or Newznab feed with curl.27 Nov 2026 - Tip
curl -I --connect-to example.com::192.168.1.20: https://example.com/curl --connect-to tests a new server under the real domain name before you switch DNSSends a request for your real domain to another server, keeping the name for TLS.26 Nov 2026 - Tip
curl -Ls -o /dev/null --max-redirs 5 -w '%{url_effective} (%{num_redirects} hops)\n' http://example.com/curl -L with %{url_effective} shows where a redirect chain endsPrints the final URL after following every redirect.24 Nov 2026 - Tip
curl --json '{"name":"test","qty":2}' https://api.example.com/itemscurl --json posts JSON with the right headers in one flagSends a JSON body together with the matching content-type and accept headers.24 Nov 2026 - Tip
curl -v -H 'User-Agent:' -H 'Accept:' -H 'X-Empty;' https://example.com/curl -H 'Accept:' removes a default header instead of setting oneStrips a header curl adds by default or sends one with an empty value.24 Nov 2026 - Tip
curl -c jar.txt https://example.com/login-pagecurl -c and -b keep a session cookie between two requestsSaves cookies from one request and sends them with the next one.24 Nov 2026 - Tip
curl -r 0-99 https://example.com/big.logcurl -r fetches only part of a file, like the last 500 bytes of a logDownloads a chosen byte range, such as only the end of a large file.24 Nov 2026 - Tip
curl --connect-timeout 5 --max-time 30 -fsS https://example.com/apicurl --max-time keeps a hung request from blocking your scriptAborts a request that takes too long to connect or to finish.24 Nov 2026 - Tip
curl --data-binary @payload.json \curl --data-binary sends a file exactly as it is, while -d strips newlinesPosts a file byte for byte, which -d does not do with line breaks.24 Nov 2026 - Tip
curl --retry 5 --retry-delay 2 --retry-all-errors -fsS -O https://example.com/file.tgzcurl --retry-all-errors waits out a service that is still startingRepeats a failed request several times, even on errors curl normally treats as final.24 Nov 2026 - Tip
curl -C - -O https://example.com/big.isocurl -C – resumes an interrupted download where it stoppedContinues a partly downloaded file from its current size instead of restarting.24 Nov 2026 - Tip
curl -G https://example.com/search \curl -G with --data-urlencode builds a safe query stringAdds correctly encoded parameters to a GET request instead of building the URL by hand.24 Nov 2026 - Tip
curl -I --resolve example.com:443:203.0.113.10 https://example.com/curl --resolve tests a new server before the DNS points to itMakes curl send a request for a hostname to an IP address you choose, ignoring DNS.23 Nov 2026 - Tip
curl -I https://example.comcurl -I shows the HTTP headers of a page without downloading itFetches only the response headers of a URL, to check redirects, status codes and caching.18 Nov 2026 - Tip
curl -sS -o /dev/null -w '%{http_code} %{time_total}s\n' https://example.comcurl -w prints the status code and timing and nothing elsePrints only the HTTP status code and response time of a URL.17 Sep 2026 - Tip
printf 'header = "Authorization: Bearer %s"\n' "$API_TOKEN" | curl -K - https://api.example.com/meCurl -K – reads options from stdin so a token stays out of psPasses secrets to curl through stdin instead of visible command-line arguments.7 May 2026 - Tip
curl -sI --http2 -o /dev/null -w '%{http_version}\n' https://example.com/curl --http2 and --http1.1 show which protocol a server really speaksShows the negotiated HTTP version and lets you force an older one for comparison.7 May 2026 - Tip
curl --interface wg0 -s -o /dev/null -w '%{local_ip}\n' https://example.com/curl --interface sends a request out of a chosen network interfaceForces a request to leave through a specific interface or source address.7 May 2026 - Tip
curl --cacert /etc/ssl/homelab-ca.pem https://nas.lan:8443/curl --cacert trusts your own CA, so you do not need -kVerifies a server against your own certificate authority instead of skipping verification.6 May 2026 - Tip
curl -u alice https://example.com/private/curl -u with only a username prompts for the passwordMakes curl ask for the password so it never appears in history or the process list.6 May 2026 - Tip
curl -fsS https://example.com/health || echo "check failed"curl -fsS gives scripts a real exit code and keeps error messagesMakes curl fail on HTTP errors with an exit code while still printing error messages.6 May 2026
Shell5
- Tip
curl -sv -o /dev/null --tlsv1.2 --tls-max 1.2 https://example.com/ 2>&1 | grep 'SSL connection'curl tls-max shows whether a server still accepts TLS 1.2Force a TLS version range to see which versions a server accepts.30 Nov 2026 - Tip
curl -s -o /dev/null -w '%{num_certs}\n%{certs}' https://example.com/ | grep -E '^[0-9]|Subject:|Issuer:|Expire'curl -w with certs prints the whole certificate chain a server sendsSee every certificate in the chain, with subject, issuer and dates, from one curl command.30 Nov 2026 - Tip
curl -s "https://api.pwnedpasswords.com/range/${H:0:5}" | grep -i "${H:5:35}"Check a password against Pwned Passwords with curl and five hash charactersChecks whether a password is in known breaches by sending only 5 characters of its SHA-1 hash.28 Nov 2026 - Tip
curl -V | grep -E '^(Protocols|Features)'curl -V shows which protocols and features your build supportsLists the protocols and features compiled into the curl you are running.24 Nov 2026 - Tip
curl -s --compressed -D - -o /dev/null https://example.com/ | grep -i '^content-encoding'curl --compressed asks for gzip and decodes it for youRequests compressed content and shows from the headers whether the server provides it.6 May 2026
Security1
Docker1
Nothing matches.