<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1419633552900_5523"><span id="yui_3_16_0_1_1419633552900_5522">For better or worse this distribution expects the user of it to add dependencies for the types they want to handle. &nbsp;Otherwise we'd end up making people install dependencies for types they might not want. &nbsp;It would make a good note in the docs&nbsp;somewhere (unless they are already&nbsp;around... I just could&nbsp;not find them).</span></div><div dir="ltr" id="yui_3_16_0_1_1419633552900_5524"><span><br></span></div><div dir="ltr" id="yui_3_16_0_1_1419633552900_5525">FWIW if you are just doing basic JSON POST/GET stuff you might be interested to know that newer Catalyst supports that out of the box. &nbsp;I find the build in stuff + Catalyst::View::JSON is enough for the basic JSON API needs I tend to have. &nbsp;SO unless you need all the power of the REST package you might want to skip it.</div><div dir="ltr" id="yui_3_16_0_1_1419633552900_5526"><br></div><div dir="ltr" id="yui_3_16_0_1_1419633552900_6167">jnap</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Friday, December 26, 2014 12:48 PM, Octavian Rasnita &lt;orasnita@gmail.com&gt; wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">Hello and... Marry Christmas!<br><br>I tried to use Catalyst::Controller::REST, but it returned the error <br>"Content-Type application/json is not supported.".<br><br>I've seen that somehow I had the module Catalyst::Action::Serialize::JSON <br>installed, so it should have been working.<br>I checked its source code and I've seen that it uses the module <br>JSON::MaybeXS, but I didn't have that module.<br>I installed it and now it works fine.<br><br>This is just a note that may be helpful for others that may have this <br>problem.<br>Also maybe JSON::MaybeXS will be added as a requirement for <br>Catalyst::Action::Serialize::JSON.<br><br>--Octavian<br><br><br>_______________________________________________<br>List: <a ymailto="mailto:Catalyst@lists.scsys.co.uk" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br><br><br></div>  </div> </div>  </div> </div></body></html>