Catalyst::Model::REST

So, I was looking for a Cat model to access REST services the other day. I couldn't find one so I decided to write it. With the latest release it should be pretty usable.

If you need to access a REST service from your Catalyst Application, perhaps you could give Catalyst::Model::REST a try.

It's simple, really, You can specify which server you want to talk to, and which serializer you want to use. for example

<Model Name>
    server http://localhost:3000
    type application/json
</Model>

UPDATE The type attribute changed to the same as content_type in version 0.08. I updated the example to show the new style.

Leave a comment

About kaare

user-pic I blog about Perl and stuff.