Drupal 8 consuming remote APIs

Jorge Castedo

REST APIs have become an integral part of the development best practices emerging in the Web Application industry today. REST is a logical choice for building APIs, as it allows users to connect and interact with cloud services. Drupal 8 core includes the HAL module which allows for a consistent and easy way to hyperlink between resources in your API.

In this hands-on session, we will demonstrate how to consume remote APIs using Google API for address location. We will then pass data to the United States Postal Service for address verification and standardization. By utilizing this approach with these two API services, your website users can quickly and easily enter and verify addresses.


Drupal is a registered trademark of Dries Buytaert.