- [Instructor] All right, enough talk.…Let's take a look at a REST-API in action.…To do this, we first need a REST-API to interact with…and here at the onset we'll use a public Sandbox REST-API.…There are several of these REST-APIs available…for free on the web.…In this example, I'll be using the one you see here…called REQ/RES.…You can find it at reqres.in.…Let's start by making a basic GET request…to see the root of this REST-API.…Most of these public REST-APIs have extensive documentation…on how to use them and REQ/RES is no exception.…
If you scroll down on the front page of the service,…you'll find a list of a bunch of different requests…you can send and it also models the request responses,…so you can see exactly what's going on.…Here we have a GET request for list users.…This is what the actual request looks like,…it gets a 200 response, meaning everything works properly,…and here's the data that's returned.…You can switch to single user…and you can see the data changes.…You can go single user not found…
- What is a REST API?
- Who or what interacts with REST APIs?
- Anatomy of a REST request
- HTTP status messages
- Request/response pairs
- GET, POST, and DELETE
Skill Level Beginner
HTTP Essential Trainingwith Morten Rand-Hendriksen50m 18s Beginner
1. REST API: Representational State Transfer Application Programming Interface
4. Request/Response Pairs
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.