You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've done this by using the Content-Type in the request header:
leejo/Dancer-Plugin-REST@67044ff6085e8daa82a2c98ab02953f036ab10d8 (N.B. relies on leejo/Dancer@d286c2c975c29e77887a37869f8050039def4157 for clean test run). Would this be a useful alternative - you can use: get '/user_info/:userid' => sub {} as your route and then set, for example, "Content-Type: application/json" in your header to get a json response back
If a path that specified a .:format option is matched
get '/user_info/:userid.:format => sub {}
I would also like to get the default serializer with additionally using
get '/user_info/:userid => sub {}
maybe we could have
get '/user_info/:userid(.:format)? => sub {}
thank you
The text was updated successfully, but these errors were encountered: