liveBook · Manning

Resource

As explained in Microservices Patterns, Second Edition

A REST resource is a representation-addressable business object or collection of business objects exposed by an API.

A REST resource represents a business object, such as a Customer or Product, or a collection of objects. A URL identifies the resource; HTTP verbs act on it, and GET returns a representation, often XML or JSON. section 8.2.2

Order Service

POST /orders creates an Order; GET /orders/{orderId} retrieves its representation. section 8.2.2

How Microservices Patterns, Second Edition covers it

How deep it goes
Defines resources and maps GET, POST, and PUT to retrieval, creation, and updating.
Examples
Uses Customer, Product, and Order examples, including POST /orders and GET /orders/{orderId}.
What you can do after
Apply HTTP verbs to URL-addressed business objects to create, retrieve, or update resources.
How it connects
Connects REST resources with HTTP verbs, URLs, and representations.

Also explained in

Compare how 3 books explain resource →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microservices Patterns, Second Edition. The section links point to the parts of the book it draws on.