nd return data and code configured.
For example for : GET http://localhost/rewrite_fake_route/12.json
return code : 200
return body : {"id":12,"test":"get test"}
In configuation, if you put paramete
ke id : :id
* add possibility to request data store in a file like response_file: file/get_answer.json
=head1 INIT MODULE ROUTE
Each route configured in dancer plugin configuration are declare fakly
eq $req->{_route_pattern})
{
set serializer => uc($req_params{format}) || 'JSON';
my $response = plugin_setting->{$req->method()}->{$route}->{response};