8 any [ 'get', 'post' ] => '/' => sub {
9 content_type 'application/xml';
10 my $ncip = NCIP->new('t/config_sample');
11 my $xml = param 'xml';
12 if ( request->is_post ) {
15 my $content = $ncip->process_request($xml);
17 template 'main', { content => $content };