Group
Extension

Matches 1

Mojolicious-Plugin-OAuth2-Che ( M/MC/MCHE/Mojolicious-Plugin-OAuth2-Che-1.539.tar.gz, MCHE, 2016; MetaCPAN )
Mojolicious-Plugin-OAuth2-Che/lib/Mojolicious/Plugin/OAuth2/Che.pm ( view source; MetaCPAN )

  }
  elsif ($tx->res->headers->content_type =~ m!^(application/json|text/javascript)(;\s*charset=\S+)?$!) {
    $data = $tx->res->json;
  }
  else {
    $data = Mojo::Parameters->new($tx->res->body)
head1 ADDITIONAL HELPERS

=head2 oauth2.process_tx

This helper is usefull for processing any API json response:

  my $tx = $c->app->ua->get($profile_url); # blocking example
  my ($data, $err) = $c-

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.