Skip to interview prep
Apexed

27. What makes an API RESTful?

EasyWeb & APIs

Technical
Show model answer

Resources are identified by URLs, manipulated with standard HTTP methods (GET, POST, PUT, PATCH, DELETE), and requests are stateless. Responses use proper status codes and representations such as JSON.

Good practice includes idempotent PUT and DELETE, pagination for collections, versioning, and consistent error formats.

What makes an API RESTful — Software engineering interview question — Apexed