标签:nbsp image http 地址 play post方法 lan 技术 param
网关引擎地址:http://10.110.20.191:8080/api-gateway-engine/
服务提供者地址:http://10.110.20.191:8080/DemoWeb/ , 提供的rest服务都有2秒延迟:
访问地址:/DemoWeb/jsp/SpringJson/AjaxGet.jsp,按钮链接才是rest服务
/AjaxGet.do::JsonParams:param11=val11,param12=val12,param21=val21,param22=val22
/AjaxGet.do::JsonResBean:HttpResults [result11=val11, result12=val12, result21=val21, result22=val22]
访问地址:/DemoWeb/jsp/SpringJson/AjaxPost1.jsp,按钮链接才是rest服务
/AjaxPost1.do::JsonParams:HttpParams [param11=val11, param12=val12, param21=val21, param22=val22]
/AjaxPost1.do::JsonResBean:HttpResults [result11=val11, result12=val12, result21=val21, result22=val22]
访问地址:/DemoWeb/jsp/SpringJson/AjaxPost2.jsp,按钮链接才是rest服务
/AjaxPost2.do::JsonParams:{param11=val11, param12=val12, param21=val21, param22=val22}
/AjaxPost2.do::JsonResBean:HttpResults [result11=val11, result12=val12, result21=val21, result22=val22]
/DemoWeb/rest/SpringJson/showShop.do ,链接就是没有参数返回单个json对象的rest服务
/DemoWeb/rest/SpringJson/showUserList.do,链接就是没有参数返回单个json对象的rest服务
api-gateway实践(8)新服务网关 - 测试发布(服务端API)
标签:nbsp image http 地址 play post方法 lan 技术 param
原文地址:http://www.cnblogs.com/lexiaofei/p/7359159.html