Rest api
A REST API is an application programming interface that exposes resources through representations and provides interactions according to the constraints of the REST architectural style.
Microservices Patterns, Second Edition
An HTTP-based application programming interface that exposes resources according to REST constraints.
- How it is used
- Carries synchronous communication across process boundaries in microservice architectures, alongside asynchronous messaging.
- How deep it goes
- Details HATEOAS action links and OpenAPI contract fields, tooling, and generation from framework metadata.
- Examples
- Uses order cancellation through a resource link and Spring Boot with SpringDoc to generate OpenAPI documents.
- What you can do after
- Evaluate REST APIs by maturity level and define OpenAPI contracts for generating SDKs, server stubs, documentation, or tests.
Read how Microservices Patterns, Second Edition explains rest api →
Grokking Software Architecture
A REST API is a web API designed around resources and the constraints of Representational State Transfer.
- How it is used
- Expose a public API contract through predictable HTTP endpoints for consumers such as external partners.
- How deep it goes
- Compare caching and request patterns, then justify a Level 2 REST decision without detailing endpoint implementation.
- Examples
- Illustrates partner inventory syncing and a warehouse scanner requesting product, stock, and location data.
- What you can do after
- Evaluate REST against GraphQL for a consumer’s needs and record the choice in an Architecture Decision Record.
ActiveMQ in Action
A REST API is an application programming interface that exposes resources through representations and uses HTTP according to REST principles.
- How it is used
- Exposes ActiveMQ destinations and messages to HTTP clients as a web messaging interface.
- How deep it goes
- Explains resource mapping, servlet configuration, and HTTP message operations through an ActiveMQ example.
- Examples
- Uses the STOCKS.JAVA topic, a web.xml servlet mapping, and wget and curl commands.
- What you can do after
- Apply it via ActiveMQ’s REST API to send and receive broker messages over HTTP.
Spring Start Here, Second Edition
A network-accessible service that exposes resources and operations according to REST constraints.
- How it is used
- Connects applications through HTTP endpoints that expose server functionality.
- How deep it goes
- Defines endpoint mapping and direct HTTP responses, then notes timeouts, large requests, and concurrent-call risks.
- Examples
- Illustrates communication between web clients, mobile apps, and backend services.
- What you can do after
- Build Spring REST endpoints by mapping controller actions to HTTP methods and paths.
Read how Spring Start Here, Second Edition explains rest api →
Also covered in
- Effective Behavior-Driven DevelopmentIn early access (MEAP)
- Rust Web Development
What to know first
- HTTPHTTP is an application-layer protocol that defines request-and-response communication for transferring resource representations and related metadata between networked systems.
Related concepts
- GraphQLcontrasts with · GraphQL is a query language and execution specification for APIs that lets clients request and manipulate data through a schema.
- HTTPuses · HTTP is an application-layer protocol that defines request-and-response communication for transferring resource representations and related metadata between networked systems.
- MessageServletimplemented by · MessageServlet is an ActiveMQ servlet that exposes broker destinations and messaging operations through a web interface.
- RESTimplements · REST is an architectural style for distributed systems that organizes interactions around identifiable resources and their representations, using a uniform interface and constraints such as statelessness and cacheability.
- CRUDuses · CRUD is the set of data-management operations for creating, reading, updating, and deleting records or resources.
- gRPCalternative to · gRPC is an open-source remote procedure call framework for defining services and invoking them across process or network boundaries, commonly using Protocol Buffers and HTTP/2.
Questions about rest api
What is rest api?
A REST API is an application programming interface that exposes resources through representations and provides interactions according to the constraints of the REST architectural style.
Which Manning books explain rest api?
Microservices Patterns, Second Edition, Grokking Software Architecture, ActiveMQ in Action and Spring Start Here, Second Edition.
What should I know before learning rest api?
Manning books that teach rest api usually introduce HTTP first.
What is the difference between rest api and GraphQL?
A REST API is an application programming interface that exposes resources through representations and provides interactions according to the constraints of the REST architectural style. GraphQL is a query language and execution specification for APIs that lets clients request and manipulate data through a schema.
What is rest api also called?
Rest api is also called RESTful API.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.



