On Thursday, April 16, Pavel Serikov wrote:
> $self->render({text => 'OK'});
This should be
$self->render(text => 'OK');
Also, don't forget app->start at the end.
> ./api.pl get -M POST -c '{email=>test@test}' /
>
>
> But both of them doesn't work.
>
> Any suggestion is much appreciated.
./api.pl get -H 'Content-Type:application/x-www-form-urlencoded' -M POST -c
'email=test%40test' /
Brian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.