Account/end session

跳转到: 导航, 搜索
(account/end_session)
(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: ===
+
=== URL地址: ===
 
http://api.t.sina.com.cn/account/end_session.format
 
http://api.t.sina.com.cn/account/end_session.format
 
   
 
   
===Formats:===
+
===返回数据格式:===
 
xml, json
 
xml, json
 
   
 
   
=== HTTP Method(s): ===
+
=== HTTP 请求方法(s): ===
 
POST
 
POST
 
   
 
   
===Requires Authentication (about authentication):===
+
===是否需要认证:===
 
true
 
true
  
===API rate limited (about rate limiting):===
+
===调用频率限制:===
 
false
 
false
  
===Usage examples: ===
+
===调用例子: ===
 
cURL (about cURL):
 
cURL (about cURL):
  
 
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日 (五) 16:09的版本

目录

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 请求方法(s):

POST

是否需要认证:

true

调用频率限制:

false

调用例子:

cURL (about cURL):

curl -u user:password -d "" http://api.t.sina.com.cn/account/end_session.xml