[Catalyst] Catalyst::View::JSON sends a file
Alan Humphrey
alan.humphrey at comcast.net
Tue Jan 12 01:03:50 GMT 2010
> -----Original Message-----
> From: Christoph Friedrich [mailto:christoph at christophfriedrich.de]
> Sent: Monday, January 11, 2010 3:29 PM
> To: The elegant MVC web framework
> Subject: [Catalyst] Catalyst::View::JSON sends a file
>
> Hello there,
>
> 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 ^^
>
> Greets
> Christoph
>
Use firebug. The Console tab will show you the GET as well as the response.
- Alan
More information about the Catalyst
mailing list