Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Alternate resources: 

Enabling Resources

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:05
    with Joe Shindelar
  • 0:07
    Enabling resources and services
  • 0:09
    is part of the basic endpoint configuration.
  • 0:12
    Since there are so many options and since this is arguably the most
  • 0:15
    important configuration for our end point,
  • 0:17
    we're going to dedicate this entire lesson
  • 0:19
    to talking about enabling resources.
  • 0:22
    At their route, each resource maps roughly
  • 0:24
    to a set of data in Drupal and the operations
  • 0:27
    they can be performed on that data.

Enabling Resources

Loading...

The services module exposes most of Drupal core's data as resources and provides CRUD operations and additional actions for each. In this lesson Joe will look at the available resources, talk about the various CRUD operations and actions and then enable the node resource and demonstrate retrieving node data as JSON from the services endpoint.

Downloads: 
Log in or sign up to download companion files.
Additional resources: 

JSON Formatter - Chrome plugin to display results of a JSON request in a nicer way.