input.xml
2345
20110609222215
4
53fd2ebccb45fb287aa4c172ccc8e73b
444
13501315080
abc@test.com
发请求,将input.xml内容作为body
cat input.xml | curl -X POST -H 'Content-type: text/xml' -d @- "https://cmread.dangdang.com" -k
-k 是略过https的ssl认证...
CURL manual
CURL manual 目录 超级强大~~
1 Manual -- curl usage explained
1.1 最新版本
1.2 簡單應用
1.3 獲取保存文檔
1.4 使用密碼
1.4.1 FTP
1.4.2 FTPS
1.4.3 SFTP / SCP
1.4.4 HTTP
1.4.5 HTTPS
1.5 PROXY
1.6 RANGES
1.7 UPLOADING
1.7.1 FTP / FTPS / SFTP / SCP
1.7.2 HTTP
1.8 VERBOSE / DEBUG
1.9 DETAILED INFORMATION
1.10 POST (HTTP)
1.11 REFERRER
1.12 USER AGENT
1.13 COOKIES
1.14 PROGRESS METER
1.15 SPEED LIMIT
1.16 CONFIG FILE
1.17 EXTRA HEADERS
1.18 FTP and PATH NAMES
1.19 SFTP and SCP and PATH NAMES
1.20 FTP and firewalls
1.21 HTTPS
1.22 RESUMING FILE TRANSFERS
1.23 TIME CONDITIONS
1.24 DICT
1.25 LDAP
1.26 ENVIRONMENT VARIABLES
1.27 NETRC
1.28 CUSTOM OUTPUT
1.29 KERBEROS FTP TRANSFER
1.30 TELNET
1.31 PERSISTENT CONNECTIONS
1.32 MULTIPLE TRANSFERS WITH A SINGLE COMMAND LINE
1.33 IPv6
1.34 MAILING LISTS