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地址: === |
http://api.t.sina.com.cn/help/test.format | http://api.t.sina.com.cn/help/test.format | ||
− | === | + | ===返回数据格式:=== |
xml, json | xml, json | ||
− | === HTTP | + | === HTTP 请求方法: === |
GET | GET | ||
− | === | + | ===是否需要认证: === |
false | false | ||
− | + | ||
− | === | + | ===调用频率限制: === |
false | false | ||
− | === | + | ===返回数据格式:=== |
XML example: | XML example: | ||
<ok>true</ok> | <ok>true</ok> | ||
− | === | + | ===调用例子: === |
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):