SkillSprout
Chapter 4

API Design: REST, gRPC and GraphQL

Learn what an API is, how REST uses HTTP to expose resources, and when gRPC or GraphQL is a better fit than REST.

1What Is an API and REST Basics
Beginner
4 min
2gRPC and GraphQL vs REST
Beginner
4 min

Chapter quiz

API Design: REST, gRPC and GraphQL · 5 questions

  1. 1.Which HTTP method is NOT idempotent?

  2. 2.A client is not logged in and calls a protected endpoint. Which status code fits best?

  3. 3.Why is cursor pagination preferred for large, fast-changing lists?

  4. 4.A screen needs data from several related resources and REST needs many calls. Which style helps most?

  5. 5.Which style is the best fit for high-volume calls between internal backend services?

0 of 5 answered