API

Helpful’s endpoints for WordPress’ REST API can be used to receive, or store, positive and negative votes.

The important thing here is that there is authentication with a user in the request header. The password for this request, you get as a logged in user on your WordPress directly in your WordPress admin (wp-admin). There you go to edit profile and create an application password for your user below.

After that you can use your username and application password for authentication.

There is a filter for the default options that you can use to specify who can and cannot use the API:

You can find the total available endpoints at the following link (replace domain with your domain):

domain.de/wp-json/helpful
Was this post helpful?
Top