[Catalyst-commits] r12408 -
trunk/examples/CatalystAdvent/root/2009/pen
franck at dev.catalyst.perl.org
franck at dev.catalyst.perl.org
Wed Dec 16 20:18:23 GMT 2009
Author: franck
Date: 2009-12-16 20:18:23 +0000 (Wed, 16 Dec 2009)
New Revision: 12408
Modified:
trunk/examples/CatalystAdvent/root/2009/pen/catalyst-action-rest.pod
Log:
add note in the header
Modified: trunk/examples/CatalystAdvent/root/2009/pen/catalyst-action-rest.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2009/pen/catalyst-action-rest.pod 2009-12-16 20:11:53 UTC (rev 12407)
+++ trunk/examples/CatalystAdvent/root/2009/pen/catalyst-action-rest.pod 2009-12-16 20:18:23 UTC (rev 12408)
@@ -1,22 +1,24 @@
-=head1 Writing REST webservices with Catalyst::Controller::REST
+=head1 Writing REST web services with Catalyst::Controller::REST
+This article is a small update to the this precedent article
+L<http://www.catalystframework.org/calendar/2006/9>.
+
=head1 What is REST
-REST means REpresentational State Transfer. The REST approach is using
-the HTTP verbs (GET, PUT, POST, DELETE) to interact with a webservice,
-using the content type of the request to determine the format of the
-response and then mapping the URI to a resource. Look at this simple
-query:
+REST means REpresentational State Transfer. The REST approach is using the
+HTTP verbs (GET, PUT, POST, DELETE) to interact with a web service, using the
+content type of the request to determine the format of the response and then
+mapping the URI to a resource. Look at this simple query:
curl -X GET -H "Content-type: application/json" http://baseuri/book/1
-The query asks (GET) for the book (the resource) with the id of 1, and
-wants the response (C<Content-type>) in JSON.
+The query asks (GET) for the book (the resource) with the id of 1, and wants
+the response (C<Content-type>) in JSON.
=head1 Using Catalyst::Controller::REST
-The L<Catalyst::Controller::REST> module helps us easily create REST
-webservices in Catalyst.
+The L<Catalyst::Controller::REST> module helps us easily create REST web
+services in Catalyst.
=head2 HTTP Verbs
More information about the Catalyst-commits
mailing list