YoVDO

WordPress: REST API

Offered By: LinkedIn Learning

Tags

WordPress Courses JSON Courses WordPress REST API Courses

Course Description

Overview

Use the WordPress REST API to interact remotely with your WordPress site. Learn how to use the API inside and outside of WordPress, modify responses, and more.

Syllabus

Introduction
  • RESTful WordPress through an API
  • Prerequisites for this course
1. Exploring the WordPress REST API
  • What is the WordPress REST API?
  • What are RESTful APIs and JSON?
  • Routes and endpoints
  • Communicating with the REST API
  • Explore the REST API response
  • Useful routes: A quick reference
  • Expanding the response with embeds
  • Challenge: Find posts in a category
  • Solution: Find posts in a category
2. Modify the REST API Response
  • Notes on modifying a REST API response
  • Add custom post types and taxonomies
  • Add custom fields to the response
  • Challenge: Add fields to the response
  • Solution: Add fields to the response
3. Authentication and Authorization
  • Authentication and authorization
  • Basic authentication (development only)
  • Cookie authentication
  • JWT: JSON Web Token authentication
  • Add JWT support with a plugin
  • Test JWT authentication via REST client
4. Practical Examples
  • Four practical examples
  • Read only: Load next post using REST API
  • Cookie authentication: Front-end editing
  • Basic standalone app
  • JWT authentication: Third-party editing
  • Challenge: Add dynamic related posts navigation
  • Solution: Add dynamic related posts navigation
Conclusion
  • Next steps

Taught by

Morten Rand-Hendriksen

Related Courses

Ansible Basics & Installing WordPress on LAMP with Playbooks
Coursera Project Network via Coursera
Build a Full Website using WordPress
Coursera Project Network via Coursera
WordPress Training Course: Learn How to Build a WordPress Site With Elementor
HubSpot via HubSpot Academy
Build a free website with WordPress
Coursera Project Network via Coursera
Building AI Powered Chatbots Without Programming
IBM via Coursera