This allows the user to instantly convert JSON and urlencoded bodies to Raku Maps:
use Humming-Bird::Core;
post('/', -> $request, $response {
my %body = $request.content; # This will be an empty map if the body is not able to be parsed.
$response.write(%body.Str);
});
Fixes #46
This allows the user to instantly convert JSON and urlencoded bodies to Raku Maps: