Hello and... Marry Christmas!

I tried to use Catalyst::Controller::REST, but it returned the error "Content-Type application/json is not supported.".

I've seen that somehow I had the module Catalyst::Action::Serialize::JSON installed, so it should have been working. I checked its source code and I've seen that it uses the module JSON::MaybeXS, but I didn't have that module.
I installed it and now it works fine.

This is just a note that may be helpful for others that may have this problem. Also maybe JSON::MaybeXS will be added as a requirement for Catalyst::Action::Serialize::JSON.

--Octavian


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to