I had not seen that plugin for some reason. Thanks, Andy. Dancer is far more versatile that I had thought. --john On 5/1/2015 1:25 AM, Andrew Beverley wrote:
You can make the Dancer route return whatever you want, be it JSON, HTML or anything else. Normally one uses the "template" keyword to return a full HTML page, but you could return anything else and can also set the various headers accordingly. You might like to have a look at Dancer(2)::Plugin::Ajax, which should make some of that a bit simpler.
-- John J. McDermott, CPLP Learning and Performance Consultant jjm at jkintl.com 575/737-8556 Check out my security blog posts <http://cybersecurity.learningtree.com> Add an A for the Arts To STEM and get STEAM and a strong engine to move forward.