In the previous parts of the series, we have been looking at what the WP REST API is and how it can help us build better applications using the WordPress back end. Then we looked at two ways to set up authentication on the server for generating authenticated requests….
Source: https://code.tutsplus.com/tutorials/wp-rest-api-retrieving-data–cms-24694