WP REST API – setting up and using basic authentication

So far, we have started with the basics in regard to REST API's architecture and how it will help us pair websites with applications, but now we will move on to creating a protocol that will be used for basic authentication on the server and sending authenticated requests. These requests will be used to perform further tasks in regard to the REST API.

In this section, we will overview the process of sending authenticated requests of various kinds and methods that will be helpful and useful in the next parts of this tutorial.

Authentication

Authentication is defined as the process that helps to identify individuals depending on the unique nature of their credentials. It will ensure that the credentials ...

Get Learning WordPress REST API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.