Play routes and controller

24 views
Skip to first unread message

Prasad Mokkapati

unread,
Mar 13, 2018, 9:36:33 AM3/13/18
to Play Framework

Hi

If I want to pass say "/api/redirect/x/y/z" to play server and want to use "api" as one paramerr, redirect another parameter and  /x/y/z" as another parameter to the controller how do I do that ?

Using "/a/:b1/*c where c is "x/y/z" in routes file and  using arguments as (a: String, b:String: c: String) in controller does not work.  Essentially I want to use  "x/y/z" as one argument (c) to the controller, what is the proper way of defining this in routes, controller ?

Thanks

Byron Weber Becker

unread,
Mar 13, 2018, 2:15:43 PM3/13/18
to Play Framework [deprecated]
Reply all
Reply to author
Forward
0 new messages