API Design Interview Question

What is a REST API?

Updated 2026-07-10 · Beginner friendly
Quick answer

A REST API is a way for two systems to talk over HTTP using a set of simple rules. Each thing you work with, like a user or an order, is treated as a resource with its own URL, and you act on it using standard HTTP methods such as GET, POST, PUT, and DELETE. REST is popular because it is stateless, predictable, and works naturally with the web.

The core ideas

So a client that wants a user sends GET /users/42 and gets back JSON describing that user. The same URL with DELETE would remove it. The method decides the action and the URL decides the target.

In the interview

A strong one liner is REST is an architectural style that uses URLs for resources and HTTP methods for actions, and it is stateless. Mentioning statelessness early shows you understand the key constraint.

Want the full API Design guide?

Read every API Design concept with notes, diagrams, and code in one place. Track your progress as you go.

Open the API Design guide All API Design questions