https://github.com/perldancer/dancer-plugin-syntax-getpost
Syntactic sugar for GET and POST requests
https://github.com/perldancer/dancer-plugin-syntax-getpost
Last synced: 4 months ago
JSON representation
Syntactic sugar for GET and POST requests
- Host: GitHub
- URL: https://github.com/perldancer/dancer-plugin-syntax-getpost
- Owner: PerlDancer
- Created: 2012-12-20T22:26:25.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-20T22:40:20.000Z (over 13 years ago)
- Last Synced: 2025-07-30T05:39:44.776Z (11 months ago)
- Homepage: https://metacpan.org/author/DAGOLDEN
- Size: 113 KB
- Stars: 1
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.pod
- Changelog: Changes
- Contributing: CONTRIBUTING
Awesome Lists containing this project
README
=pod
=head1 NAME
Dancer::Plugin::Syntax::GetPost - Syntactic sugar for GET+POST handlers
=head1 VERSION
version 0.001
=head1 SYNOPSIS
use Dancer::Plugin::Syntax::GetPost;
get_post '/myform' => sub { ... };
=head1 DESCRIPTION
This module provides very simple syntactic sugar to define a handler for GET and
POST requests. Instead of writing this:
any [qw/get post/] => '/form' => sub { ... };
You can write just this:
get_post '/form' => sub { ... };
=for Pod::Coverage method_names_here
=head1 SEE ALSO
=over 4
=item *
L
=back
=for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker
at L.
You will be notified automatically of any progress on your issue.
=head2 Source Code
This is open source software. The code repository is available for
public review and contribution under the terms of the license.
L
git clone git://github.com/dagolden/dancer-plugin-syntax-getpost.git
=head1 AUTHOR
David Golden
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004