[Dancer-users] one route, different actions based on context
sherringham at gmail.com
Fri Dec 24 23:10:54 CET 2010
On 24 December 2010 19:48, Puneet Kishor <punk.kish at gmail.com> wrote:
>> $ curl http://application/foo/all
>> a json stream of all the foo widgets is returned.
There's an advent calendar up just now with some advice on this sort
of thing e.g.
Writing REST web services with Dancer
Some curl usage - maybe use "application/json"? e.g.
curl -H 'Accept-Type: application/json' <url>
More information about the Dancer-users