Categories wordpress Tutorials

Make API in WordPress.

How to make API in wordpress.
1] Install the following plugins.
a] json-api
b] json-api-user
c] really-simple-ssl (Optional)
d] rest-api (Optional)
e] restrict-content-pro (Optional)

2] Now go to login on dashboard(Admin panel) then go to Settings >> JSON API >> Activate the “User” controller.
3] Now Past the api folder into root(i.e along with wp-content and wp-include)
4] Open the postman and type the URL(http://localhost/wordpress/api/user/edit_profile?email=xyz@gmail.com&insecure=cool).

NOTE :: insecure=cool is use for localhost API.

Leave a Reply

Your email address will not be published. Required fields are marked *