[Catalyst] Catalyst::View::JSON sends a file

Philip Potter philip.g.potter at gmail.com
Tue Jan 12 09:28:44 GMT 2010


2010/1/12 Alan Humphrey <alan.humphrey at comcast.net>:
>> From: Christoph Friedrich [mailto:christoph at christophfriedrich.de]
>> just worked a little with Catalyst::View::JSON. But when I call some
>> action via Firefox that uses this View Firefox gives me a file to
>> download and don't show the json directly.
>> Is there a way to change this behavior? I want to see what I would get
>> as JSON and not download it ^^
>
> Use firebug.  The Console tab will show you the GET as well as the response.

ITYM the Net tab.

Phil



More information about the Catalyst mailing list