<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I had not seen that plugin for some reason. Thanks, Andy. Dancer is
far more versatile that I had thought.<br>
<br>
--john<br>
<br>
<br>
<div class="moz-cite-prefix">On 5/1/2015 1:25 AM, Andrew Beverley
wrote:<br>
</div>
<blockquote cite="mid:1430465104.11983.12.camel@andy-laptop"
type="cite">
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.<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
John J. McDermott, CPLP<br>
Learning and Performance Consultant<br>
jjm at jkintl.com 575/737-8556<br>
Check out my <a href="http://cybersecurity.learningtree.com">
security blog posts</a><br>
Add an A for the Arts To STEM and get STEAM and a strong engine to
move forward. </div>
</body>
</html>