可用于調試android端/ios端的網絡框架.服務器還有5個月免費期,接口可隨便折騰.
主機名和端口號:
http://xxxxxxxxx:8080/spring3/test/
1. get請求拿到一般的json:
url:getCommonJson
參數:
int id
響應:
{"id":2,"name":"英吉利海峽","price":6897.0,"pic":null,"createtime":null,"detail":null}
2.get請求拿到三字段標準json
url:getStandardJson
參數:
int id
響應:
{"code":0,"msg":"請求成功","data":{"id":2,"name":"英吉利海峽","price":6897.0,"pic":null,"createtime":null,"detail":null}}
3. post請求拿到一般的json:
url:postCommonJson
參數:
int id
4.post請求拿到三字段標準json
url:postStandardJson
參數:
int id
5.文件上傳
url:upload
參數:
int id
響應:
標準的三字段json
6 文件下載:(5M圖片)
(去掉/test/)
/img/0.jpg
需要ip的私信我.