cURLコマンド
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-[[戻る>WebAPI]]
* 目次 [#m38c2f53]
#contents
*概要 [#g3475a83]
[[REST]]ful APIをテストしたり、開発したりする際に有用なcU...
Windows環境でも使ってみたいので、インストールから実行まで...
*インストール+コマンド実行 [#s871a2d5]
[[参考>#he0ad8e5]]情報を参考に、インストール+コマンド実...
cURL のオプションは[[--help>#y599960e]]で確認することがで...
**プロキシ [#i0283c62]
プロキシ設定が必要な場合、
-curl でリクエスト時にプロキシ設定する - Qiita~
http://qiita.com/TAKAyuki_atkwsk/items/b9a48e7d546b477d3674
オプションは
--proxy [protocol://][user@password]proxyhost[:port]
なので、実際は、こんな感じ、
curl --proxy "http://uid:pwd@proxy.intra.xxxx.co.jp:8080...
プロキシ認証にも対応している。
**電文の確認 [#f4497bc7]
-Request電文とResponse電文のBody以外は確認できない。
--RequestヘッダとResponseヘッダは--verboseや--includeのオ...
---curlでヘッダを見る方法いろいろ - Qiita~
http://qiita.com/takc923/items/1b508bb370c78b7a9d44
-これらを確認するには、[[Fiddler free web debugging proxy...
**[[WebAPI]] [#gcbfb4e5]
***テスト環境 [#j17c93b7]
cURLの評価目的なら[[REST]]ful APIを自作するより、何かのサ...
[[WebPay>https://dotnetdevelopmentinfrastructure.osscons....
-[[WebPay>https://dotnetdevelopmentinfrastructure.osscons...
cURL を使用して[[REST]]ful APIを実行するサンプルが充実し...
-このサンプルでcURLの使い方に慣れることができる。
***JSONデータのPOST [#y3f1e972]
JSONの[[REST]]ful APIだけでなく、[[JSON-RPC>RPC]]などが流...
従って、Request BodyがJSONのAPIもあり得る。
・・・その場合、以下のようにJSONデータをPOSTできる。
-curl を使って JSONデータをPOSTする - // Takuya71 の日記~
http://takuya71.hatenablog.com/entry/2012/11/10/143415
*参考 [#he0ad8e5]
0から調べるまでもなく、Web上に様々な情報がある。
-Windows®環境にcURLコマンドを実行できるようにインストール...
http://algorhythnn.jp/blg/2014/03/12/curl-install-on-wind...
-10分でできる!Windows環境でcURLコマンドを使う方法 - tech...
http://techblo.hatenablog.com/entry/2015/08/06/214306
-curl コマンド 使い方メモ - Qiita~
http://qiita.com/yasuhiroki/items/a569d3371a66e365316f
** --helpコマンド [#y599960e]
Usage: curl [options...] <url>
Options: (H) means HTTP/HTTPS only, (F) means FTP only
--anyauth Pick "any" authentication method (H)
-a, --append Append to target file when uploadin...
--basic Use HTTP Basic Authentication (H)
--cacert FILE CA certificate to verify peer again...
--capath DIR CA directory to verify peer against...
-E, --cert CERT[:PASSWD] Client certificate file and p...
--cert-status Verify the status of the server cer...
--cert-type TYPE Certificate file type (DER/PEM/EN...
--ciphers LIST SSL ciphers to use (SSL)
--compressed Request compressed response (using ...
-K, --config FILE Read config from FILE
--connect-timeout SECONDS Maximum time allowed for...
--connect-to HOST1:PORT1:HOST2:PORT2 Connect to hos...
-C, --continue-at OFFSET Resumed transfer OFFSET
-b, --cookie STRING/FILE Read cookies from STRING/FILE...
-c, --cookie-jar FILE Write cookies to FILE after oper...
--create-dirs Create necessary local directory hi...
--crlf Convert LF to CRLF in upload
--crlfile FILE Get a CRL list in PEM format from t...
-d, --data DATA HTTP POST data (H)
--data-raw DATA HTTP POST data, '@' allowed (H)
--data-ascii DATA HTTP POST ASCII data (H)
--data-binary DATA HTTP POST binary data (H)
--data-urlencode DATA HTTP POST data url encoded (H)
--delegation STRING GSS-API delegation permission
--digest Use HTTP Digest Authentication (H)
--disable-eprt Inhibit using EPRT or LPRT (F)
--disable-epsv Inhibit using EPSV (F)
--dns-servers DNS server addrs to use: 1.1.1.1;2....
--dns-interface Interface to use for DNS requests
--dns-ipv4-addr IPv4 address to use for DNS reques...
--dns-ipv6-addr IPv6 address to use for DNS reques...
-D, --dump-header FILE Write the headers to FILE
--egd-file FILE EGD socket path for random data (S...
--engine ENGINE Crypto engine (use "--engine list"...
--expect100-timeout SECONDS How long to wait for 10...
-f, --fail Fail silently (no output at all) on...
--false-start Enable TLS False Start.
-F, --form CONTENT Specify HTTP multipart POST data (H)
--form-string STRING Specify HTTP multipart POST d...
--ftp-account DATA Account data string (F)
--ftp-alternative-to-user COMMAND String to replac...
--ftp-create-dirs Create the remote dirs if not pr...
--ftp-method [MULTICWD/NOCWD/SINGLECWD] Control CW...
--ftp-pasv Use PASV/EPSV instead of PORT (F)
-P, --ftp-port ADR Use PORT with given address instead...
--ftp-skip-pasv-ip Skip the IP address for PASV (F)
--ftp-pret Send PRET before PASV (for drftpd) ...
--ftp-ssl-ccc Send CCC after authenticating (F)
--ftp-ssl-ccc-mode ACTIVE/PASSIVE Set CCC mode (F)
--ftp-ssl-control Require SSL/TLS for FTP login, c...
-G, --get Send the -d data with a HTTP GET (H)
-g, --globoff Disable URL sequences and ranges us...
-H, --header LINE Pass custom header LINE to server (H)
-I, --head Show document info only
-h, --help This help text
--hostpubmd5 MD5 Hex-encoded MD5 string of the hos...
-0, --http1.0 Use HTTP 1.0 (H)
--http1.1 Use HTTP 1.1 (H)
--http2 Use HTTP 2 (H)
--http2-prior-knowledge Use HTTP 2 without HTTP/1....
--ignore-content-length Ignore the HTTP Content-Le...
-i, --include Include protocol headers in the out...
-k, --insecure Allow connections to SSL sites with...
--interface INTERFACE Use network INTERFACE (or ad...
-4, --ipv4 Resolve name to IPv4 address
-6, --ipv6 Resolve name to IPv6 address
-j, --junk-session-cookies Ignore session cookies read...
--keepalive-time SECONDS Wait SECONDS between keep...
--key KEY Private key file name (SSL/SSH)
--key-type TYPE Private key file type (DER/PEM/ENG...
--krb LEVEL Enable Kerberos with security LEVEL...
--libcurl FILE Dump libcurl equivalent code of thi...
--limit-rate RATE Limit transfer speed to RATE
-l, --list-only List only mode (F/POP3)
--local-port RANGE Force use of RANGE for local po...
-L, --location Follow redirects (H)
--location-trusted Like '--location', and send aut...
--login-options OPTIONS Server login options (IMAP...
-M, --manual Display the full manual
--mail-from FROM Mail from this address (SMTP)
--mail-rcpt TO Mail to this/these addresses (SMTP)
--mail-auth AUTH Originator address of the origina...
--max-filesize BYTES Maximum file size to download...
--max-redirs NUM Maximum number of redirects allow...
-m, --max-time SECONDS Maximum time allowed for the tr...
--metalink Process given URLs as metalink XML ...
--negotiate Use HTTP Negotiate (SPNEGO) authent...
-n, --netrc Must read .netrc for user name and ...
--netrc-optional Use either .netrc or URL; overrid...
--netrc-file FILE Specify FILE for netrc
-:, --next Allows the following URL to use a s...
--no-alpn Disable the ALPN TLS extension (H)
-N, --no-buffer Disable buffering of the output str...
--no-keepalive Disable keepalive use on the connec...
--no-npn Disable the NPN TLS extension (H)
--no-sessionid Disable SSL session-ID reusing (SSL)
--noproxy List of hosts which do not use proxy
--ntlm Use HTTP NTLM authentication (H)
--ntlm-wb Use HTTP NTLM authentication with w...
--oauth2-bearer TOKEN OAuth 2 Bearer Token (IMAP, ...
-o, --output FILE Write to FILE instead of stdout
--pass PASS Pass phrase for the private key (SS...
--path-as-is Do not squash .. sequences in URL p...
--pinnedpubkey FILE/HASHES Public key to verify pee...
--post301 Do not switch to GET after followin...
--post302 Do not switch to GET after followin...
--post303 Do not switch to GET after followin...
-#, --progress-bar Display transfer progress as a prog...
--proto PROTOCOLS Enable/disable PROTOCOLS
--proto-default PROTOCOL Use PROTOCOL for any URL ...
--proto-redir PROTOCOLS Enable/disable PROTOCOLS ...
-x, --proxy [PROTOCOL://]HOST[:PORT] Use proxy on give...
--proxy-anyauth Pick "any" proxy authentication me...
--proxy-basic Use Basic authentication on the pro...
--proxy-digest Use Digest authentication on the pr...
--proxy-negotiate Use HTTP Negotiate (SPNEGO) auth...
--proxy-ntlm Use NTLM authentication on the prox...
--proxy-header LINE Pass custom header LINE to prox...
--proxy-service-name NAME SPNEGO proxy service name
--service-name NAME SPNEGO service name
-U, --proxy-user USER[:PASSWORD] Proxy user and password
--proxy1.0 HOST[:PORT] Use HTTP/1.0 proxy on given...
-p, --proxytunnel Operate through a HTTP proxy tunnel...
--pubkey KEY Public key file name (SSH)
-Q, --quote CMD Send command(s) to server before tr...
--random-file FILE File for reading random data fr...
-r, --range RANGE Retrieve only the bytes within RANGE
--raw Do HTTP "raw"; no transfer decoding...
-e, --referer Referer URL (H)
-J, --remote-header-name Use the header-provided filen...
-O, --remote-name Write output to a file named as the...
--remote-name-all Use the remote file name for all...
-R, --remote-time Set the remote file's time on the l...
-X, --request COMMAND Specify request command to use
--resolve HOST:PORT:ADDRESS Force resolve of HOST:...
--retry NUM Retry request NUM times if transient ...
--retry-delay SECONDS Wait SECONDS between retries
--retry-max-time SECONDS Retry only within this pe...
--sasl-ir Enable initial response in SASL aut...
-S, --show-error Show error. With -s, make curl show...
-s, --silent Silent mode (don't output anything)
--socks4 HOST[:PORT] SOCKS4 proxy on given host + ...
--socks4a HOST[:PORT] SOCKS4a proxy on given host ...
--socks5 HOST[:PORT] SOCKS5 proxy on given host + ...
--socks5-hostname HOST[:PORT] SOCKS5 proxy, pass h...
--socks5-gssapi-service NAME SOCKS5 proxy service ...
--socks5-gssapi-nec Compatibility with NEC SOCKS5 ...
-Y, --speed-limit RATE Stop transfers below RATE for '...
-y, --speed-time SECONDS Trigger 'speed-limit' abort a...
--ssl Try SSL/TLS (FTP, IMAP, POP3, SMTP)
--ssl-reqd Require SSL/TLS (FTP, IMAP, POP3, S...
-2, --sslv2 Use SSLv2 (SSL)
-3, --sslv3 Use SSLv3 (SSL)
--ssl-allow-beast Allow security flaw to improve i...
--ssl-no-revoke Disable cert revocation checks (...
--stderr FILE Where to redirect stderr (use "-" f...
--tcp-nodelay Use the TCP_NODELAY option
--tcp-fastopen Use TCP Fast Open
-t, --telnet-option OPT=VAL Set telnet option
--tftp-blksize VALUE Set TFTP BLKSIZE option (must...
--tftp-no-options Do not send TFTP options requests
-z, --time-cond TIME Transfer based on a time condition
-1, --tlsv1 Use >= TLSv1 (SSL)
--tlsv1.0 Use TLSv1.0 (SSL)
--tlsv1.1 Use TLSv1.1 (SSL)
--tlsv1.2 Use TLSv1.2 (SSL)
--trace FILE Write a debug trace to FILE
--trace-ascii FILE Like --trace, but without hex o...
--trace-time Add time stamps to trace/verbose ou...
--tr-encoding Request compressed transfer encodin...
-T, --upload-file FILE Transfer FILE to destination
--url URL URL to work with
-B, --use-ascii Use ASCII/text transfer
-u, --user USER[:PASSWORD] Server user and password
--tlsuser USER TLS username
--tlspassword STRING TLS password
--tlsauthtype STRING TLS authentication type (defa...
--unix-socket FILE Connect through this Unix dom...
-A, --user-agent STRING Send User-Agent STRING to serv...
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
-w, --write-out FORMAT Use output FORMAT after complet...
--xattr Store metadata in extended file att...
-q, --disable Disable .curlrc (must be first para...
----
Tags: [[:通信技術]], [[:.NET開発]], [[:.NET Core]], [[:.N...
終了行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-[[戻る>WebAPI]]
* 目次 [#m38c2f53]
#contents
*概要 [#g3475a83]
[[REST]]ful APIをテストしたり、開発したりする際に有用なcU...
Windows環境でも使ってみたいので、インストールから実行まで...
*インストール+コマンド実行 [#s871a2d5]
[[参考>#he0ad8e5]]情報を参考に、インストール+コマンド実...
cURL のオプションは[[--help>#y599960e]]で確認することがで...
**プロキシ [#i0283c62]
プロキシ設定が必要な場合、
-curl でリクエスト時にプロキシ設定する - Qiita~
http://qiita.com/TAKAyuki_atkwsk/items/b9a48e7d546b477d3674
オプションは
--proxy [protocol://][user@password]proxyhost[:port]
なので、実際は、こんな感じ、
curl --proxy "http://uid:pwd@proxy.intra.xxxx.co.jp:8080...
プロキシ認証にも対応している。
**電文の確認 [#f4497bc7]
-Request電文とResponse電文のBody以外は確認できない。
--RequestヘッダとResponseヘッダは--verboseや--includeのオ...
---curlでヘッダを見る方法いろいろ - Qiita~
http://qiita.com/takc923/items/1b508bb370c78b7a9d44
-これらを確認するには、[[Fiddler free web debugging proxy...
**[[WebAPI]] [#gcbfb4e5]
***テスト環境 [#j17c93b7]
cURLの評価目的なら[[REST]]ful APIを自作するより、何かのサ...
[[WebPay>https://dotnetdevelopmentinfrastructure.osscons....
-[[WebPay>https://dotnetdevelopmentinfrastructure.osscons...
cURL を使用して[[REST]]ful APIを実行するサンプルが充実し...
-このサンプルでcURLの使い方に慣れることができる。
***JSONデータのPOST [#y3f1e972]
JSONの[[REST]]ful APIだけでなく、[[JSON-RPC>RPC]]などが流...
従って、Request BodyがJSONのAPIもあり得る。
・・・その場合、以下のようにJSONデータをPOSTできる。
-curl を使って JSONデータをPOSTする - // Takuya71 の日記~
http://takuya71.hatenablog.com/entry/2012/11/10/143415
*参考 [#he0ad8e5]
0から調べるまでもなく、Web上に様々な情報がある。
-Windows®環境にcURLコマンドを実行できるようにインストール...
http://algorhythnn.jp/blg/2014/03/12/curl-install-on-wind...
-10分でできる!Windows環境でcURLコマンドを使う方法 - tech...
http://techblo.hatenablog.com/entry/2015/08/06/214306
-curl コマンド 使い方メモ - Qiita~
http://qiita.com/yasuhiroki/items/a569d3371a66e365316f
** --helpコマンド [#y599960e]
Usage: curl [options...] <url>
Options: (H) means HTTP/HTTPS only, (F) means FTP only
--anyauth Pick "any" authentication method (H)
-a, --append Append to target file when uploadin...
--basic Use HTTP Basic Authentication (H)
--cacert FILE CA certificate to verify peer again...
--capath DIR CA directory to verify peer against...
-E, --cert CERT[:PASSWD] Client certificate file and p...
--cert-status Verify the status of the server cer...
--cert-type TYPE Certificate file type (DER/PEM/EN...
--ciphers LIST SSL ciphers to use (SSL)
--compressed Request compressed response (using ...
-K, --config FILE Read config from FILE
--connect-timeout SECONDS Maximum time allowed for...
--connect-to HOST1:PORT1:HOST2:PORT2 Connect to hos...
-C, --continue-at OFFSET Resumed transfer OFFSET
-b, --cookie STRING/FILE Read cookies from STRING/FILE...
-c, --cookie-jar FILE Write cookies to FILE after oper...
--create-dirs Create necessary local directory hi...
--crlf Convert LF to CRLF in upload
--crlfile FILE Get a CRL list in PEM format from t...
-d, --data DATA HTTP POST data (H)
--data-raw DATA HTTP POST data, '@' allowed (H)
--data-ascii DATA HTTP POST ASCII data (H)
--data-binary DATA HTTP POST binary data (H)
--data-urlencode DATA HTTP POST data url encoded (H)
--delegation STRING GSS-API delegation permission
--digest Use HTTP Digest Authentication (H)
--disable-eprt Inhibit using EPRT or LPRT (F)
--disable-epsv Inhibit using EPSV (F)
--dns-servers DNS server addrs to use: 1.1.1.1;2....
--dns-interface Interface to use for DNS requests
--dns-ipv4-addr IPv4 address to use for DNS reques...
--dns-ipv6-addr IPv6 address to use for DNS reques...
-D, --dump-header FILE Write the headers to FILE
--egd-file FILE EGD socket path for random data (S...
--engine ENGINE Crypto engine (use "--engine list"...
--expect100-timeout SECONDS How long to wait for 10...
-f, --fail Fail silently (no output at all) on...
--false-start Enable TLS False Start.
-F, --form CONTENT Specify HTTP multipart POST data (H)
--form-string STRING Specify HTTP multipart POST d...
--ftp-account DATA Account data string (F)
--ftp-alternative-to-user COMMAND String to replac...
--ftp-create-dirs Create the remote dirs if not pr...
--ftp-method [MULTICWD/NOCWD/SINGLECWD] Control CW...
--ftp-pasv Use PASV/EPSV instead of PORT (F)
-P, --ftp-port ADR Use PORT with given address instead...
--ftp-skip-pasv-ip Skip the IP address for PASV (F)
--ftp-pret Send PRET before PASV (for drftpd) ...
--ftp-ssl-ccc Send CCC after authenticating (F)
--ftp-ssl-ccc-mode ACTIVE/PASSIVE Set CCC mode (F)
--ftp-ssl-control Require SSL/TLS for FTP login, c...
-G, --get Send the -d data with a HTTP GET (H)
-g, --globoff Disable URL sequences and ranges us...
-H, --header LINE Pass custom header LINE to server (H)
-I, --head Show document info only
-h, --help This help text
--hostpubmd5 MD5 Hex-encoded MD5 string of the hos...
-0, --http1.0 Use HTTP 1.0 (H)
--http1.1 Use HTTP 1.1 (H)
--http2 Use HTTP 2 (H)
--http2-prior-knowledge Use HTTP 2 without HTTP/1....
--ignore-content-length Ignore the HTTP Content-Le...
-i, --include Include protocol headers in the out...
-k, --insecure Allow connections to SSL sites with...
--interface INTERFACE Use network INTERFACE (or ad...
-4, --ipv4 Resolve name to IPv4 address
-6, --ipv6 Resolve name to IPv6 address
-j, --junk-session-cookies Ignore session cookies read...
--keepalive-time SECONDS Wait SECONDS between keep...
--key KEY Private key file name (SSL/SSH)
--key-type TYPE Private key file type (DER/PEM/ENG...
--krb LEVEL Enable Kerberos with security LEVEL...
--libcurl FILE Dump libcurl equivalent code of thi...
--limit-rate RATE Limit transfer speed to RATE
-l, --list-only List only mode (F/POP3)
--local-port RANGE Force use of RANGE for local po...
-L, --location Follow redirects (H)
--location-trusted Like '--location', and send aut...
--login-options OPTIONS Server login options (IMAP...
-M, --manual Display the full manual
--mail-from FROM Mail from this address (SMTP)
--mail-rcpt TO Mail to this/these addresses (SMTP)
--mail-auth AUTH Originator address of the origina...
--max-filesize BYTES Maximum file size to download...
--max-redirs NUM Maximum number of redirects allow...
-m, --max-time SECONDS Maximum time allowed for the tr...
--metalink Process given URLs as metalink XML ...
--negotiate Use HTTP Negotiate (SPNEGO) authent...
-n, --netrc Must read .netrc for user name and ...
--netrc-optional Use either .netrc or URL; overrid...
--netrc-file FILE Specify FILE for netrc
-:, --next Allows the following URL to use a s...
--no-alpn Disable the ALPN TLS extension (H)
-N, --no-buffer Disable buffering of the output str...
--no-keepalive Disable keepalive use on the connec...
--no-npn Disable the NPN TLS extension (H)
--no-sessionid Disable SSL session-ID reusing (SSL)
--noproxy List of hosts which do not use proxy
--ntlm Use HTTP NTLM authentication (H)
--ntlm-wb Use HTTP NTLM authentication with w...
--oauth2-bearer TOKEN OAuth 2 Bearer Token (IMAP, ...
-o, --output FILE Write to FILE instead of stdout
--pass PASS Pass phrase for the private key (SS...
--path-as-is Do not squash .. sequences in URL p...
--pinnedpubkey FILE/HASHES Public key to verify pee...
--post301 Do not switch to GET after followin...
--post302 Do not switch to GET after followin...
--post303 Do not switch to GET after followin...
-#, --progress-bar Display transfer progress as a prog...
--proto PROTOCOLS Enable/disable PROTOCOLS
--proto-default PROTOCOL Use PROTOCOL for any URL ...
--proto-redir PROTOCOLS Enable/disable PROTOCOLS ...
-x, --proxy [PROTOCOL://]HOST[:PORT] Use proxy on give...
--proxy-anyauth Pick "any" proxy authentication me...
--proxy-basic Use Basic authentication on the pro...
--proxy-digest Use Digest authentication on the pr...
--proxy-negotiate Use HTTP Negotiate (SPNEGO) auth...
--proxy-ntlm Use NTLM authentication on the prox...
--proxy-header LINE Pass custom header LINE to prox...
--proxy-service-name NAME SPNEGO proxy service name
--service-name NAME SPNEGO service name
-U, --proxy-user USER[:PASSWORD] Proxy user and password
--proxy1.0 HOST[:PORT] Use HTTP/1.0 proxy on given...
-p, --proxytunnel Operate through a HTTP proxy tunnel...
--pubkey KEY Public key file name (SSH)
-Q, --quote CMD Send command(s) to server before tr...
--random-file FILE File for reading random data fr...
-r, --range RANGE Retrieve only the bytes within RANGE
--raw Do HTTP "raw"; no transfer decoding...
-e, --referer Referer URL (H)
-J, --remote-header-name Use the header-provided filen...
-O, --remote-name Write output to a file named as the...
--remote-name-all Use the remote file name for all...
-R, --remote-time Set the remote file's time on the l...
-X, --request COMMAND Specify request command to use
--resolve HOST:PORT:ADDRESS Force resolve of HOST:...
--retry NUM Retry request NUM times if transient ...
--retry-delay SECONDS Wait SECONDS between retries
--retry-max-time SECONDS Retry only within this pe...
--sasl-ir Enable initial response in SASL aut...
-S, --show-error Show error. With -s, make curl show...
-s, --silent Silent mode (don't output anything)
--socks4 HOST[:PORT] SOCKS4 proxy on given host + ...
--socks4a HOST[:PORT] SOCKS4a proxy on given host ...
--socks5 HOST[:PORT] SOCKS5 proxy on given host + ...
--socks5-hostname HOST[:PORT] SOCKS5 proxy, pass h...
--socks5-gssapi-service NAME SOCKS5 proxy service ...
--socks5-gssapi-nec Compatibility with NEC SOCKS5 ...
-Y, --speed-limit RATE Stop transfers below RATE for '...
-y, --speed-time SECONDS Trigger 'speed-limit' abort a...
--ssl Try SSL/TLS (FTP, IMAP, POP3, SMTP)
--ssl-reqd Require SSL/TLS (FTP, IMAP, POP3, S...
-2, --sslv2 Use SSLv2 (SSL)
-3, --sslv3 Use SSLv3 (SSL)
--ssl-allow-beast Allow security flaw to improve i...
--ssl-no-revoke Disable cert revocation checks (...
--stderr FILE Where to redirect stderr (use "-" f...
--tcp-nodelay Use the TCP_NODELAY option
--tcp-fastopen Use TCP Fast Open
-t, --telnet-option OPT=VAL Set telnet option
--tftp-blksize VALUE Set TFTP BLKSIZE option (must...
--tftp-no-options Do not send TFTP options requests
-z, --time-cond TIME Transfer based on a time condition
-1, --tlsv1 Use >= TLSv1 (SSL)
--tlsv1.0 Use TLSv1.0 (SSL)
--tlsv1.1 Use TLSv1.1 (SSL)
--tlsv1.2 Use TLSv1.2 (SSL)
--trace FILE Write a debug trace to FILE
--trace-ascii FILE Like --trace, but without hex o...
--trace-time Add time stamps to trace/verbose ou...
--tr-encoding Request compressed transfer encodin...
-T, --upload-file FILE Transfer FILE to destination
--url URL URL to work with
-B, --use-ascii Use ASCII/text transfer
-u, --user USER[:PASSWORD] Server user and password
--tlsuser USER TLS username
--tlspassword STRING TLS password
--tlsauthtype STRING TLS authentication type (defa...
--unix-socket FILE Connect through this Unix dom...
-A, --user-agent STRING Send User-Agent STRING to serv...
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
-w, --write-out FORMAT Use output FORMAT after complet...
--xattr Store metadata in extended file att...
-q, --disable Disable .curlrc (must be first para...
----
Tags: [[:通信技術]], [[:.NET開発]], [[:.NET Core]], [[:.N...
ページ名: