about request route
风河 <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <1502104698.1926373.1065460240.52E83CEE@webmail.messagingengine.com> |
Hi,
for this like request:
curl http://dns-api.org/AAAA/dns-api.org
in Dancer we could write:
get '/:type/:domain/?' => sub {
my $rtype = params->{ 'type' };
my $domain = params->{ 'domain' };
But in a MP handler, how could we get the similiar result, treating
request path as GET/POST arguments?
thanks.