Help/test

跳转到: 导航, 搜索
(fhelp/test)
(help/test)
第1行: 第1行:
 
== help/test ==
 
== help/test ==
 +
返回HTTP状态码为200,并返回字符串OK。
 +
 
Returns the string "ok" in the requested format with a 200 OK HTTP status code.
 
Returns the string "ok" in the requested format with a 200 OK HTTP status code.
  
=== URL: ===
+
=== URL地址: ===
 
http://api.t.sina.com.cn/help/test.format
 
http://api.t.sina.com.cn/help/test.format
 
   
 
   
===Formats:===
+
===返回数据格式:===
 
xml, json
 
xml, json
 
   
 
   
=== HTTP Method(s): ===
+
=== HTTP 请求方法: ===
 
GET
 
GET
 
   
 
   
===Requires Authentication (about authentication):===
+
===是否需要认证: ===
 
false
 
false
+
 
===API rate limited (about rate limiting):===
+
===调用频率限制: ===
 
false
 
false
  
===Response (about return values): ===
+
===返回数据格式:===
 
XML example:
 
XML example:
 
<ok>true</ok>
 
<ok>true</ok>
  
===Usage examples: ===
+
===调用例子: ===
 
cURL (about cURL):
 
cURL (about cURL):
  
 
curl http://api.t.sina.com.cn/help/test.xml
 
curl http://api.t.sina.com.cn/help/test.xml

2009年11月13日 (五) 16:36的版本

目录

help/test

返回HTTP状态码为200,并返回字符串OK。

Returns the string "ok" in the requested format with a 200 OK HTTP status code.

URL地址:

http://api.t.sina.com.cn/help/test.format

返回数据格式:

xml, json

HTTP 请求方法:

GET

是否需要认证:

false

调用频率限制:

false

返回数据格式:

XML example: <ok>true</ok>

调用例子:

cURL (about cURL):

curl http://api.t.sina.com.cn/help/test.xml