Time for action – getting all the recipe types

This is the list of recipe types I have in my local development server running in Vagrant (http://www.headless.dev):

Time for action – getting all the recipe types

We will create an API URL structured as http://www.headless.dev/recipes, which will give the list of recipes in my site. Let's get started:

  1. We need to enable the Web Services module from the modules page.
  2. Click on Manage in the administration menu bar and then click on Extend.
  3. Once you are on the Modules page, search for RESTful Web Services and Serialization. Enable both these modules:
    Time for action – getting all the recipe types
  4. Next, ...

Get Drupal 8 Development Beginner's Guide - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.