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
  1. Submit a bad HTTP reuqest, 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

Key Terminology

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 serialization
  5. JASON deserialization
  6. resource
  7. resource entity
  8. resource collection

REST: Practical Fundamentals

  1. Shape
  2. Endpoint