curl post...
来源:互联网 发布:买一个淘宝店铺多少钱 编辑:程序博客网 时间:2024/04/30 09:05
input.xml
<?xml version="1.0" encoding="UTF-8"?>
<UserRegisterReq>
<Sequence>2345</Sequence>
<TimeStamp>20110609222215</TimeStamp>
<channelID>4</channelID>
<Sign>53fd2ebccb45fb287aa4c172ccc8e73b</Sign>
<UserID>444</UserID>
<UserMSISDN>13501315080</UserMSISDN>
<UsereMail>abc@test.com</UsereMail>
</UserRegisterReq>
发请求,将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
http://wiki.bingu.net/index.php?title=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
- curl post...
- curl post
- curl post
- curl post
- curl post and get
- PHP CURL POST提交
- CURL HTTPS POST
- PHP CURL HTTPS POST
- Linux curl post data
- curl POST demo
- PHP CURL HTTPS POST
- PHP CURL HTTPS POST
- curl with post json
- CURL模拟POST/GET
- CURL POST json字符串
- cURL模拟POST请求
- cURL-GET/POST/上传
- 用Curl测试POST
- 头疼的事
- Android源码目录结构
- 小布老师Oracle 9i DBA Fundamentals I 视频讲座 29
- Java中Ear、Jar、War文件之间有何不同?
- RT3070 WIFI模块Android调试全记录
- curl post...
- bcdedit
- IE6 "经典"内容重复 bug
- js弹出层效果
- 正则表达式的元字符详解
- android 的初步
- Makefile的介绍
- lrs_length_receive
- 移动市场分析