WordPress JSON REST API Tutorial for beginners(#8) Basic Auth Settings to make Rest API call – Posts



In this video we have discussed about,

Basic Authentication settings to Rest API call

The Basic Authentication method is not recommended in WP because you send login and password in every API call. But I think it is better know how to work with it anyway because similar requests use many others APIs

Steps:

1. Download Plugin https://github.com/WP-API/Basic-Auth

2. Install and activate

Using Postman

Authorization : username and password

Headers : Basic base64_encode(‘username:password’)

Making HTML APpp layout for Rest Application: https://www.youtube.com/watch?v=NKDcIlR7AGk

Get All Post
https://www.youtube.com/watch?v=h09cEikkZS8

Delete Post
https://www.youtube.com/watch?v=h7ZRhCFsEg8

GITHub Link:
https://github.com/owthub/

Documentation Study:

https://www.godaddy.com/garage/the-wordpress-rest-api-what-it-is-and-why-you-should-care/

https://www.elegantthemes.com/blog/editorial/the-wordpress-json-rest-api-wp-api-what-it-is-how-it-works-what-it-means-for-the-future-of-wordpress

SOCIAL :
===============
Subscribe : https://www.youtube.com/channel/UCB2flCo-gW6RhpVVXySqcMg
FACEBOOK : https://www.facebook.com/onlinewebtutorhub/
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/

Also you can learn WordPress Custom
===============
Wordpress Theme Development: https://goo.gl/MZ8maF
Wordpress Widget Development: https://goo.gl/Dc2htn
Wordpress Plugin Development: https://goo.gl/BA7dYG
Wordpress Theme Options Development: https://goo.gl/Vjv3Ub
Learn backbone.js here! : https://goo.gl/Qd2Pcs
Laravel tutorials: https://goo.gl/Nh9qJk
CakePHP tutorials: https://goo.gl/uRsS3G

Tags
===================
Wordpress JSON REST API Development tutorial for beginners step by step,
Wordpress JSON REST API Development tutorial,
Wordpress JSON REST API Development tutorial in hindi,
Wordpress JSON REST API Development,
Wordpress JSON REST API Development for beginners,
Wordpress JSON REST API Development tutorial for beginners,
Wordpress JSON REST API Development tutorial for beginners,
Wordpress JSON REST API Development tutorials guide,
learn WordPress JSON REST API Development framework step by step,
learn WordPress JSON REST API Development from scratch,
WordPress JSON REST API,
WordPress JSON REST API Development for Beginners: Developing a JSON REST API,
Get started with the WordPress JSON REST API,
The WordPress JSON REST API,
online web tutor,
profotech solutions,

Thanks
Online Web Tutor
Keep learning and Sharing 🙂

source

Related posts

3 Thoughts to “WordPress JSON REST API Tutorial for beginners(#8) Basic Auth Settings to make Rest API call – Posts”

  1. this is not authentication, getting posts from wordpress requires no logging

  2. Hi Sanjay,

    Excellent series on Rest API. I just want to give a small suggestion that please provide all tools download and access link which you are using in videos. Just like you missed tool link for PHP fiddle tool. Please mention all tool link for reference which you are using and useful resources.
    Thanks

  3. I need to send current logged in user deatil through API .how can I do that?

Leave a Comment