es> documentation to know more about swat meta stories.
=head1 Advanced usage
=head2 handling json responses
Modify Kelp controller
=head3 GET /user/id
$ cat user/id/get.pm
my ($s
$id}->{age}
}
Add json handler to swat test:
$ cat user/id/get.handler
my $headers = shift;
my $body = shift;
use JSON;
$hash = decode_json($body);
return "$h
es> documentation to know more about swat meta stories.
=head1 Advanced usage
=head2 handling json responses
Modify Kelp controller
=head3 GET /user/id
$ cat user/id/get.pm
my ($s
$id}->{age}
}
Add json handler to swat test:
$ cat user/id/get.handler
my $headers = shift;
my $body = shift;
use JSON;
$hash = decode_json($body);
return "$h