Advanced WP REST API
Plugin demo instructions and functionality described how to use the plugin using each functionality please check ahead for the more scroll it to down.
Documentation
Please see the documentation of the “Advanced WP REST API” plugin.Overview
Advanced WP REST API is a WP REST API plugin that provides custom endpoints, to the WordPress REST API.
You can enable API routes through a convenient settings panel and then manage the API requests and responses.
Features:
- Validate the user
- Handle Post request
- Handle User request
- Handle Product request
Note: The API method must be a POST method.
Getting Started
Requirements –
To get the best experience with this Advanced WP REST API plugin, we recommend the following:
PHP 7.4 or later
MySQL 5.6 or later
WordPress 4.7 or later
To be sure about the above requirements, contact your hosting vendor.
Installation & Activation –
This content explains how to install the plugin and get it working.
This plugin can be installed directly from your site.
- Log in and navigate to Plugins → Add New.
- Type “Advanced WP REST API” into the Search and hit Enter.
- Locate the Advanced WP REST API plugin in the list of search results and click Install now.
- Once installed, click the Activate link.
It can also be installed manually.
- Download the Advanced WP REST API plugin from WordPress.org.
- Unzip the package and move it to your plugins directory.
- Login to the WordPress and navigate to the Plugins screen.
- Locate the Advanced WP REST API in the list and click the Activate link.
Settings
Backend Settings –
Reviews Advanced WP REST API
We hope you enjoy using the Advanced WP REST API. Please note that we are always trying to improve it.
Thanks so much in advance!
FAQs
Ans. You can enable/disable it from the Advanced WP REST API options page that exists under the settings, Just choose to enable/disable API.
Ans. This endpoint takes ‘username’ and ‘password’ in the body of the request.
Returns the user object on success
Also handles error by returning the relevant error if the fields are empty or credentials don’t match.
Example: http://example.com/wp-json/api/v2/user/login
Ans. This endpoint takes ‘post_id’, ‘post_type’, and ‘meta_keys’ in the body of the request.
The ‘post_id’ and ‘meta_keys’ must be an array.
Returns the post object on success
Example: http://example.com/wp-json/api/v2/postsData
Ans. This endpoint takes ‘user_id’, ‘role’, and ‘meta_keys’ in the body of the request.
The ‘meta_keys’ must be an array.
Returns the user object on success
Example: http://example.com/wp-json/api/v2/usersData
Ans. This endpoint takes ‘product_id’ and ‘meta_keys’ in the body of the request.
The ‘product_id’ and ‘meta_keys’ must be an array.
Returns the product object on success
Example: http://example.com/wp-json/api/v2/productsData