RESTful Services
Back in 2012 Dries wrote a blog post declaring that the future was a "RESTful Drupal." In all previous versions of Drupal there were competing methods of implementing REST APIs in Drupal: services, RESTWS and RESTful were the more popular ones in contrib. This lead to other modules having to target one implementation or another in order to work. You could end up finding the functionality you wanted to leverage already built, but using a different set of APIs than you had already implemented. The goal of the Drupal 8's Web Services Initiative was to consolidate the basic REST functionality and allow Drupal to serve as the content repository for any number of clients, and not just the Drupal interface. This allows Drupal to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access