Experienced Developer but new to WordPress. How do I install the REST API?

[ad_1]

I have an externally hosted WP 6.0.1 site that has no plugins installed. I’m trying to ultimately connect to the REST API. Every URL/endpoint I can find on the Web returns a 404 error, so I’m assuming the API plugin needs to be installed.

How do I install it? I searched the Plugins, and there is nothing called a REST API, WP API, or WP REST API. There is a Swagger plugin, which I’ve installed, but the base path says “wp/v2” which doesn’t work, and it has a Docs URL link which also goes to a 404.

So how do I install this REST API plugin? What is the exact name I should be searching for in the plugins? This screenshot is the first page of results that comes up when I search for “API”. What am I looking for?

I’m on the verge of just writing my own API for it since I can’t find one that works.

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer