Working with REST APIs

Session Track
Experience Level

In today's virtual world it is vital to know how to use REST APIs to retrieve data from other services, and exposing our own data. This session will introduce how to do this in Drupal, using the RESTful Web Services module, as well as using custom code.

  • What is REST?
  • Why use REST?
  • Using a REST API through the browser
  • REST clients
  • Consuming a REST service with Guzzle in Drupal
  • Mapping REST data on entities
  • Exposing data using the RESTful Web Services Module
  • The REST UI contributed module
  • Best practices for designing a REST service
  • Returning HTTP responses
  • JSON or XML?
  • The HAL module
  • HTTP Basic Authentication
  • Create a REST endpoint with Views
  • Create a REST endpoint programmatically

 

Are you a speaker at our event? Make sure to read our Speaker Guidelines and FAQ.

Let us know if you would like to volunteer!