Demo: Services: REST: offer GET node resource

This demonstration has been temporarily disabled. Readers are encouraged to install Services and follow the tutorial Testing Services with the node resource.

Adapted from Testing Services with the node resource. Demonstrates using Services [and REST Server] to offer a read-only REST node GET on a given node id (in this case the first):

XML version

The way the returned XML is handled will depend largely on how your web browser or your REST client handles the XML.

JSON version

The usual page access restrictions apply, if you attempt access a permitted node you should get a
HTTP/1.1 200 OK, if you try to access a restricted or unpublished node you will get HTTP/1.1 403 Forbidden.

For Mac OS X I recommend the REST Client GUI app for testing. Both Firefox and Chrome also have REST client plugins.

Visit also