Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Examples of Plack dispatcher using various CPAN modules
tree: b36ae44a72

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/MyApp
README
dancer.psgi
http-router-declare.psgi
httpx-dispatcher.psgi
mojolicious-lite.psgi
path-dispatcher.psgi
path-router.psgi
tatsumaki.psgi
tester.pl
web-simple.psgi

README

This is a collection of URI dispatching using Plack::Request and various CPAN modules.

Most examples would do:

  GET / => "Hello World"
  GET /blog/{year}/{month} => Get the list of blog posts in year/month
  POST /comment => Post a comment with parameters id, name and body

You can run tests against the dispatcher using:

  perl tester.pl <dispatcher.pl>

Something went wrong with that request. Please try again.