Version 6.0 / 6.1

Code samples and tutorials for the 6.0 and 6.1 branches.

External tutorials

API key authentication

Services offers the ability to control access via API keys. This requires

Example: Accessing a service from Groovy or Java

The Groovy language bundles XMLRPC service in the download. That, and the fact Groovy is a dynamic scripting language, makes it an

Example: Flagging a Node with Adobe Flex

This code sample demonstrates how to use the flag content methods of the Services module via Adobe Flex.

Example: Rating a Node with Adobe Flex

This code sample demonstrates how to use the vote up down methods of the Services module via Flex.

Example: Save and Load Comments with Adobe Flex

NOTE: Commenting services were integrated into Services 6.2, but are not reflected in this example. Some calls may need to be changed, and

Example: Saving a node using Adobe Flex

This code sample demonstrates the simplest way of saving a node using Adobe Flex and Drupal Services.

Example: User identification and login from Flex/Flash using XML-RPC

Here is an example of how to determine the currently logged-in user, log a user in, and log a user out, using ActionScript3 and XML-RPC:

JavaScript - Node.Save / Node Object / JSONP / And Other Info

The docs seem to be a little disorderly.

Session-based authentication

Services provides the ability for clients to log in to a remote server as a specific user, and perform further actions using that session.

Guide maintainers

gdd's picture