码迷,mamicode.com
首页 > 其他好文 > 详细

常用restful路由

时间:2019-01-01 12:30:17      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:upd   erp   name   rpo   des   form   pos   sch   pat   

 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路由

标签:upd   erp   name   rpo   des   form   pos   sch   pat   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!