liveBook · Manning

Rest api

Also called RESTful 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.

How 4 Manning books explain it

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.

Read how Grokking Software Architecture explains rest api →

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.

Read how ActiveMQ in Action explains rest api →

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

What to know first

Related concepts

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.