Identify the resource, receive a representation
How REST's uniform interface lets clients retrieve resource representations using self-contained requests and interpret HTTP method and response semantics independently of backend implementation. · associate
REST, or Representational State Transfer, is an architectural style, not a protocol or a product. A resource is something an application exposes, such as an order. A URI such as https://api.example.com/orders/123 identifies it. A representation describes its state—for example, a JSON document containing its identifier, items, and status. JSON is common, but REST does not require it.
The uniform interface separates the client's understanding of resources and messages from the server's implementation. The client uses resource identifiers, HTTP methods, response metadata, and representations instead of database tables or internal function calls. The server can change its storage or programming language while preserving that interface.
Full REST also uses links in representations to guide available actions, called hypermedia. Many APIs called REST APIs implement a resource-oriented HTTP interface without that full constraint. Either way, clients still need the API's documented resource paths, representation schemas, and authentication rules; uniform does not mean every API has identical data.