Perl Maven
  • Perl Tutorial
  • Pro
  • Books
  • Type keyword:
  • Archive
  • About
  • Atom feed
Dancer - light-weight web framework for Perl (version 2)
Dancer, the light-weight Perl web framework
  1. General
    1. Getting started with Perl Dancer - Creating an Echo application
    2. Building a blog engine using Perl Dancer
    3. Getting started with Perl Dancer on Digital Ocean
  2. Dancer 1
    1. Hello World with Perl Dancer
    2. Dancer 1 test Hello World
    3. Dancer 1 echo using GET and testing GET
    4. Dancer 1 echo using POST and testing POST
    5. Dancer 1 Skeleton
    6. Dancer Simple Session and testing a session
  3. Dancer 2
    1. Migrating (the Perl Maven site) from Dancer 1 to Dancer2
    2. Hello World with Dancer2
    3. Password protecting web pages in Dancer 2
    4. Counter with Dancer Sessions
    5. Uploading files using Dancer
  4. Dancer 2 video course
    1. Dancer2: Install Perl, editor, Dancer2
    2. Dancer2: Install Perl on Linux and Mac OSX
    3. Dancer2: Hello World
    4. Dancer2: Testing Hello World
    5. Dancer2: Hello World with Visual Studio Code
    6. Dancer2: Plackup reload on Windows and Linux
    7. Dancer2: Show current time
    8. Dancer2: Testing 404 and 500 error responses
    9. Dancer2: Process GET and POST requests
    10. Dancer2: Exercise 1 - Calculator, Counter
    11. Dancer2: Solution: 1 - Calculator
    12. Dancer2: Solution: 1 - Calculator fixing
    13. Dancer2: Solution: 1 - Counter
    14. Dancer2: Show errors during development
    15. Dancer2: Logging
    16. Dancer2: Route parameters and sending 404 manually
    17. Dancer2: More route parameters
    18. Dancer2: Exercise 2 - Multi-Counter, Random redirection
    19. Dancer2: Solution 2 - Route-based Multi-Counter
    20. Dancer2: Solution 2 - Random redirect
    21. Dancer2: Configuration
    22. Dancer2: Sessions
    23. Dancer2: Return JSON
    24. Dancer2: Before and After Hooks
    25. Dancer2: Exercise 3 - Simple Single-user TODO list AP
    26. Dancer2: Solution 3 - Simple Single-user TODO list AP
    27. Dancer2: Upload file
    28. Dancer2: Template Tiny
    29. Dancer2: Template Toolkit
    30. Dancer2: Skeleton
  5. Dancer 2 and Ajax
    1. Ajax and Dancer 2
    2. Stand-alone Ajax client and the Access-Control-Allow-Origin issue
    3. Reverse Echo with Ajax and Dancer 2
    4. Refactoring Dancer 2 app, using before hook
    5. Silencing the noisy Dancer tests
    6. Add and retrieve items - MongoDB, Dancer and Testing!
    7. Add and retrieve elements - jQuery + Ajax
    8. Deleting item using Ajax request with DELETE and OPTIONS
    9. Replace manual HTML generation by the use of Handlebars
    10. Add a date stamp to the items in the database
    11. Convert list to table and add jQuery tablesorting with Date column
    12. Keep data in client and fetch only changes

Dancer2: Process GET and POST requests

  • Dancer2
  • GET
  • POST

Prev Next

Part of the Dancer2 video course available both to Pro subscribers and attendees of the Perl Dancer course on Leanpub.

  • Process GET (query request) parameters in Dancer
  • Testing GET request with query parameters in Dancer
  • Process POST requests in Dancer
  • Test POST requests in Dancer

Prev Next


Gabor Szabo
Written by
Gabor Szabo

Published on 2022-05-09

If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub. Comment on this post

Author: Gabor Szabo

Gabor who runs the Perl Maven site helps companies set up test automation, CI/CD Continuous Integration and Continuous Deployment and other DevOps related systems.

Gabor can help refactor your old Perl code-base.

He runs the Perl Weekly newsletter.

Contact Gabor if you'd like to hire his service.

Buy his eBooks or if you just would like to support him, do it via Patreon.