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: 

Using Parameters and Arguments with Resources

Video loading...

Transcript language code: 

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
    Up until this point, all the requests
  • 0:09
    we've made to our API for data have been pretty simple--
  • 0:12
    asking for a specific node by ID or a list of nodes
  • 0:16
    from the index operation.
  • 0:18
    In this lesson, we're going to explore some of the additional
  • 0:20
    but not immediately obvious arguments that can be passed
  • 0:23
    either in the query string for GET operations
  • 0:26
    or in the request body for POST input operations.
  • 0:30
    These arguments allow us little more control

Using Parameters and Arguments with Resources


In this lesson Joe will demontrate using additional parameters and arguments to refine the returned data when making requests from our API. As well as walking through the code that shows where the various parameters are defined and how you can find what options are available. Finally, we install the services tools module which provides some additional documentation.

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