论坛风格切换切换到宽版
  • 602阅读
  • 0回复

[问题求助]curl POST的使用问题 [复制链接]

上一主题 下一主题
离线xdlyly.
 
发帖
2058
C币
-139587
威望
385
贡献值
1
银元
0
铜钱
4510
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
使用CURL 来.登录GOOGLE PICASA              电子

下面是GOOGLE   API中的.说明    健康
For the actio.n .URL parameter, use:(广告)
https://www..google.com/accou.nts/ClientLogin.
API中的实例
POST /accounts/C.lie.ntLogin HTTP/1.0           鲜花
   .     .Content-type: application/x-www-form-urlencoded    外汇
Email=johndo.e@gmail.com&Pa.sswd=north23AZ&service=cl&source.=Gulp-CalGulp-1.05              汽车
我是这样用的
$curl -d "Content-typ.e: application/x-www-form-urlencoded  Email=lu.owei03@sina.com&pass.word=1234567.8" https://www.google.com/accounts/ClientLogin[成人用品]
报错为Error=BadAuthentica.tion   按API中的说法是因为我帐号或者密码错误.,但是帐号密码确实是对的,盼指点(广告)
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个