pretty=true'-u username:API_TOKEN -o jobs.json# get jenkins viewcurl -X GET'<jenkinshost>/view/<viewname>/api/json'-u username:API_TOKEN -o view.json curl help curl --help Usage: curl[options...]<url> Options:(H)means HTTP/HTTPS only,(F)means FTP only --anyauth Pick"any"auth...
参数帮助命令: [root@master ~]# curl -hUsage: 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 uploading (F/SFTP)--basic Use HTTP Basic Authentication (H)--cacert ...
curl -X GET '<jenkinshost>/api/json?pretty=true' -u username:API_TOKEN -o jobs.json # get jenkins view curl -X GET '<jenkinshost>/view/<viewname>/api/json' -u username:API_TOKEN -o view.json curl help curl --help Usage: curl [options...] <url> Options: (H) means HTTP/HTT...
- means stdout --tcp-nodelay 使用TCP_NODELAY 选项 -t, --telnet-option OPT=VAL 设置telnet 选项 --tftp-blksize VALUE 设备TFTP BLKSIZE 选项 (必须 >512) -z, --time-cond TIME 基于时间条件的传输 -1, --tlsv1 使用=> TLSv1 (SSL) --tlsv1.0 使用TLSv1.0 (SSL) ...
--stderr FILE 重定向 stderr 的文件位置. - means stdout --tcp-nodelay 使用 TCP_NODELAY 选项 -t, --telnet-option OPT=VAL 设置 telnet 选项 --tftp-blksize VALUE 设备 TFTP BLKSIZE 选项 (必须 >512) -z, --time-cond TIME 基于时间条件的传输 ...
curl -X GET '<jenkinshost>/view/<viewname>/api/json' -u username:API_TOKEN -o view.json curl help curl --help Usage: curl [options...] <url> Options: (H) means HTTP/HTTPS only, (F) means FTP only --anyauth Pick "any" authentication method (H) ...
curl cURL 是一个开源项目,其主要的产品是命令行工具 curl,以及 C 语言 API 库 libcurl。这两者的功能是基于网络协议,对指定的 URL 进行网络传输...
Options: (H) means HTTP/HTTPS only, (F) means FTP only --anyauth Pick "any" authentication method (H) -a, --append Append to target file when uploading (F/SFTP) --basic Use HTTP Basic Authentication (H) --cacert FILE CA certificate to verify peer against (SSL) ...
Options: (H) means HTTP/HTTPS only, (F) means FTP only --anyauth Pick "any" authentication method (H) -a, --append Append to target file when uploading (F/SFTP) --basic Use HTTP Basic Authentication (H) --cacert FILE CA certificate to verify peer against (SSL) ...
Linux系列之学会使用CURL命令进行URL测试,curl命令是一个利用URL规则在shell终端命令行下工作的文件传输工具;curl命令作为一款强力工具,curl支持包括HTTP、