🌐 What a REST API does
A client (a phone app, a website, another server) sends an HTTP request to a URL; the server sends back a response. A REST API organises this around resources (things, like users or orders) addressed by URLs, and uses standard HTTP methods to act on them.
GET, PUT, DELETE are idempotent: doing them twice has the same effect as once. POST usually is not — posting the same form twice can create two records.