- 论坛徽章:
- 0
|
使用CURL 来登录GOOGLE PICASA
下面是GOOGLE API中的说明
For the action URL parameter, use:
https://www.google.com/accounts/ClientLogin
API中的实例
POST /accounts/ClientLogin HTTP/1.0
Content-type: application/x-www-form-urlencoded
Email=johndoe@gmail.com&Passwd=north23AZ&service=cl&source=Gulp-CalGulp-1.05
我是这样用的
$curl -d "Content-type: application/x-www-form-urlencoded Email=luowei03@sina.com&password=12345678" https://www.google.com/accounts/ClientLogin
报错为Error=BadAuthentication 按API中的说法是因为我帐号或者密码错误,但是帐号密码确实是对的,盼指点 |
|