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地址: ===
+
=== 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 请求方式(s): ===
+
=== HTTP请求方式: ===
 
POST
 
POST
  
===是否需要认证:===
+
===是否需要登录:===
 
true
 
true
  
===调用频率限制:===
+
===请求数限制:===
 
false
 
false
  
===调用例子: ===
+
===使用示例: ===
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日 (五) 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