Chapter 20: Introduction to Web APIs & REST

Learning Objectives

After completing this chapter, you should be able to do the following:

  1. Submit HTTP requests using Postman to an API and receive the expected response
    • GET
    • POST
    • DELETE
  2. Submit a bad HTTP request, understand the response and how to fix it

You should also have an understanding of the following:

  1. HTTP methods
  2. Endpoints
  3. Status Codes
  4. Headers
  5. API design

Major Concepts & Key Terminology

Throughout this lesson you should make note of the following terms and their definitions as you read the content on the page:

Web APIs

  1. API
  2. Web API
  3. Server-side rendering
  4. Client-side rendering
  5. data presentation
  6. data representation
  7. state

What is REST

  1. REST
  2. RESTful web services
  3. Representational state transfer
  4. JSON serioalization
  5. JSON deserialization
  6. resource
  7. resource entity
  8. resource collection

REST: Practical Fundamentals

  1. Shape
  2. Endpoint