From the course: WordPress: REST API
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
What are RESTful APIs and JSON? - WordPress Tutorial
From the course: WordPress: REST API
What are RESTful APIs and JSON?
- [Instructor] Working with REST APIs, we use a lot of specialized terminology and acronyms, like REST, and API and JSON. And knowing what these mean and what they describe makes it easier to understand what's going on. So, let's break some of these down right here at the top of the course. WordPress ships with what's known as a RESTful API, and in this course, we'll explore how to work with this API to receive and send data through WordPress. But what exactly is a REST API, and what makes it RESTful? The term is a combination of two acronyms: REST and API. REST stands for representational state transfer, which describes the software architecture of the web. Anytime you visit a URL, the server or service transfers representation of the current state of whatever is at the other end of that URL. The data at the other end of the URL is called a resource. We perform operations on that resource using verbs like Get to get the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
What is the WordPress REST API?2m 42s
-
(Locked)
What are RESTful APIs and JSON?2m 16s
-
(Locked)
Routes and endpoints1m 43s
-
(Locked)
Communicating with the REST API4m 16s
-
(Locked)
Explore the REST API response7m 23s
-
(Locked)
Useful routes: A quick reference5m 8s
-
(Locked)
Expanding the response with embeds6m 14s
-
(Locked)
Challenge: Find posts in a category2m
-
(Locked)
Solution: Find posts in a category5m 18s
-
-
-
-
-