Curl: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == Linux command curl 사용법 정리 == Options == '''-k''' <pre> SSL 인증 확인을 거치지 않는다. </pre> == Examples == === ssl certification no che...") |
|||
Line 7: | Line 7: | ||
<pre> | <pre> | ||
SSL 인증 확인을 거치지 않는다. | SSL 인증 확인을 거치지 않는다. | ||
</pre> | |||
'''-u, --user <user:password;options>''' | |||
<pre> | |||
user name, password 를 지정한다. | |||
Specify the user name, password and optional login options to use for server authentication. Overrides -n, --netrc and --netrc-optional. | |||
If you simply specify the user name, with or without the login options, curl will prompt for a password. | |||
If you use an SSPI-enabled curl binary and perform NTLM authentication, you can force curl to select the user name and password from your environment | |||
by simply specifying a single colon with this option: "-u :" or by specfying the login options on their own, for example "-u ;auth=NTLM". | |||
You can use the optional login options part to specify protocol specific options that may be used during authentication. At present only IMAP, POP3 and | |||
SMTP support login options as part of the user login information. For more information about the login options please see RFC 2384, RFC 5092 and IETF | |||
draft draft-earhart-url-smtp-00.txt (Added in 7.31.0). | |||
If this option is used several times, the last one will be used. | |||
</pre> | </pre> | ||
Revision as of 15:04, 21 March 2015
Overview
Linux command curl 사용법 정리
Options
-k
SSL 인증 확인을 거치지 않는다.
-u, --user <user:password;options>
user name, password 를 지정한다. Specify the user name, password and optional login options to use for server authentication. Overrides -n, --netrc and --netrc-optional. If you simply specify the user name, with or without the login options, curl will prompt for a password. If you use an SSPI-enabled curl binary and perform NTLM authentication, you can force curl to select the user name and password from your environment by simply specifying a single colon with this option: "-u :" or by specfying the login options on their own, for example "-u ;auth=NTLM". You can use the optional login options part to specify protocol specific options that may be used during authentication. At present only IMAP, POP3 and SMTP support login options as part of the user login information. For more information about the login options please see RFC 2384, RFC 5092 and IETF draft draft-earhart-url-smtp-00.txt (Added in 7.31.0). If this option is used several times, the last one will be used.
Examples
ssl certification no check
<source lang=bash> $ curl -k -v https://web_sites.com </source>