PLUGIN DESCRIPTION
Posts API WP is a plugin that helps to make your WordPress posts available outside your WordPress site. This plugin acts like a regular API that can be used to share your wordpress posts to other websites.
This means that if you have a static website that is not built with WordPress, you can use this plugin to make your WordPress posts available to that website. You can also use this plugin if you just want to share your wordpress posts to other websites.
All API endpoints are secured with an authorization key and this means that you have full control over how your WordPress posts are shared.
API PARAMETERS
In order to make your first request, you need to configure the API parameters from the plugin interface.
TO BEGIN,
Head over to the configuration page and set up an authorization key.
After you must have set up your Authorization key, modify the configuration options such as; the number of posts to retrieve, the categories to get posts from, then save the configuration options. These options serve as the API parameters.
API ENDPOINT
You've set up an authorization key, configured the API parameters and now you need access to the endpoint in order to make your first request.
TO BEGIN,
Head over to the how to use page and copy your endpoint URL.
You should see something like this;
http://YOUR_WORDPRESS_BLOG/post-api-wp/
Now you have to modify YOUR_WORDPRESS_BLOG to reflect your WordPress domain path. You might run into a redirection error if you mistype /posts-api-wp/. Please use it as it is.
FOR EXAMPLE,
If I have WordPress installed on a separate folder on domain, my endpoint URL will be
http://domain.com/WORDPRESS_FOLDER/posts-api-wp/
Once you've set it up correctly, you may proceed and make your first GET request, by following the guidelines on the how to use page.