Batch HTTP requests in Play!Framework

后端 未结 2 928
时光取名叫无心
时光取名叫无心 2021-01-16 07:51

I have the current set of of routes implemented (for example):

GET     /api/:version/:entity               my.controllers.~~~~~
GET     /api/:version/:entity         


        
2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-16 08:46

    You can use the following method call to route your fake requests: Play.current.global.onRouteRequest. Please see this post for a full example: http://yefremov.net/blog/play-batch-api/

提交回复
热议问题