The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

PONAPI::Server - PONAPI - Perl implementation of {JSON:API} (http://jsonapi.org/) v1.0

VERSION

version 0.001000

SYNOPSIS

    # Run the server
    $ plackup -MPONAPI::Server -e 'PONAPI::Server->new("repository.class" => "Test::PONAPI::DAO::Repository::MockDB")->to_app'

    $ perl -MPONAPI::Client -E 'say Dumper(PONAPI::Client->new->retrieve(type => "people", id => 88))'

    # Or with cURL:
    $ curl -X GET -H "Content-Type: application/vnd.api+json" 'http://0:5000/people/88'

DESCRIPTION

PONAPI::Server is a small plack server that implements the {json:api} specification.

You'll have to set up a repository (to provide access to the data you want to server) and tweak some server configurations, so hop over to PONAPI::Manual for the next steps!

NAME

PONAPI::Server - A {json:api} server.

BUGS, CONTACT AND SUPPORT

For reporting bugs or submitting patches, please use the github bug tracker at https://github.com/mickeyn/PONAPI.

AUTHORS

  • Mickey Nasriachi <mickey AT cpan DOT org>

  • Stevan Little <stevan AT cpan DOT org>

  • Brian Fraser <hugmeir AT cpan DOT org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

COPYRIGHT

Copyright (C) 2015 Mickey Nasriachi <mickey AT cpan DOT org>

AUTHOR

Mickey Nasriachi <mickey AT cpan DOT org>, Stevan Little <stevan AT cpan DOT org>, Brian Fraser <hugmeir AT cpan DOT org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Mickey Nasriachi, Stevan Little, Brian Fraser.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 341:

'=end' without a target?