Chapter 20: Introduction to Web APIs & REST
Learning Objectives
After completing this chapter, you should be able to do the following:
- Submit HTTP requests using
Postman
to an API and receive the expected response
GET
POST
DELETE
- Submit a bad HTTP reuqest, understand the response and how to fix it
You should also have an understanding of the following:
- HTTP methods
- Endpoints
- Status Codes
- Headers
- API design
Key Terminology
Web APIs
- API
- Web API
- Server-side rendering
- Client-side rendering
- data presentation
- data representation
- state
What is REST
- REST
- RESTful web services
- Representational state transfer
- JSON serialization
- JASON deserialization
- resource
- resource entity
- resource collection
REST: Practical Fundamentals
- Shape
- Endpoint