11. Write only
Authentication:OAuth 2.0
◦ What is OAuth 2.0
◦ Plugin:WP OAuth Server
◦ Login by the access token
Post: WP REST API
◦ Post by WP REST API
◦ Comment from WP REST API
◦ Show Posts & Comments !!
28. How To get Access Token ?
URI:
◦ https://example.com/oauth/token
Param: WP REST API
◦ grant_type : password
◦ client_id : your client_id
◦ client_secret : your client_secret
◦ username : WordPress User
◦ password : WordPress Password
Method: POST
31. Get the Login User
URI:
◦ https://example.com/oauth/me
Param:
◦ access_token : access_token
◦ client_id : your client_id
◦ client_secret : your client_secret
Method: GET
46. Access WP REST API
URI:
◦ https://example.com/wp-json/wp/v2/posts
Param:
◦ user_id : login user id
◦ limit : int
◦ order : desc or asc
◦
Method: GET