TL;DR
A REST API is a set of HTTP endpoints that let clients request and modify data on a server. It’s boring to talk about because the rules are simple, but shipping clean REST APIs is hard. Most bad APIs violate one of seven principles that matter: predictable URLs, proper HTTP methods, meaningful status codes, consistent response shapes, and errors that actually tell you what went wrong.