首页 > 其他 > 详细

常用restful路由

时间:2019-01-01 12:07:45      阅读:135      评论:0      收藏:0      [点我收藏+]
 tax_categories GET    /tax_categories(.:format)                       tax_categories#index
                          POST   /tax_categories(.:format)                       tax_categories#create
         new_tax_category GET    /tax_categories/new(.:format)                   tax_categories#new
        edit_tax_category GET    /tax_categories/:id/edit(.:format)              tax_categories#edit
             tax_category GET    /tax_categories/:id(.:format)                   tax_categories#show
                          PATCH  /tax_categories/:id(.:format)                   tax_categories#update
                          PUT    /tax_categories/:id(.:format)                   tax_categories#update
                          DELETE /tax_categories/:id(.:format)                   tax_categories#destroy

 


<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
  <head>
    <base href="<%=basePath%>">

 

常用restful路由

原文:https://www.cnblogs.com/znsongshu/p/10204394.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!