Account/end session
(→HTTP 请求方法(s):) |
(→account/end_session) |
||
第4行: | 第4行: | ||
Ends the session of the authenticating user, returning a null cookie. Use this method to sign users out of client-facing applications like widgets. | Ends the session of the authenticating user, returning a null cookie. Use this method to sign users out of client-facing applications like widgets. | ||
− | === | + | === URL: === |
http://api.t.sina.com.cn/account/end_session.format | http://api.t.sina.com.cn/account/end_session.format | ||
− | === | + | ===格式:=== |
xml, json | xml, json | ||
− | === | + | === HTTP请求方式: === |
POST | POST | ||
− | === | + | ===是否需要登录:=== |
true | true | ||
− | === | + | ===请求数限制:=== |
false | false | ||
− | === | + | ===使用示例: === |
− | + | ||
curl -u user:password -d "" http://api.t.sina.com.cn/account/end_session.xml | curl -u user:password -d "" http://api.t.sina.com.cn/account/end_session.xml |
2009年11月13日 (五) 17:51的版本
目录 |
account/end_session
登陆用户退出操作,返回 null的cookie值。主要用于肥客户端的应用方面。
Ends the session of the authenticating user, returning a null cookie. Use this method to sign users out of client-facing applications like widgets.
URL:
http://api.t.sina.com.cn/account/end_session.format
格式:
xml, json
HTTP请求方式:
POST
是否需要登录:
true
请求数限制:
false
使用示例:
curl -u user:password -d "" http://api.t.sina.com.cn/account/end_session.xml