← 返回卡片

原书出处

RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)

05 超媒体服务

First Edition · 核验版本的摘录快照 · 导入于 2026-10-23T19:21:01.535Z

An alternative to proactive content negotiation by the service is reactive content negotiation (RCN). In RCN, the service sends the client a list of possible representation formats, and the client is expected to select the preferred format from the list and make the request a second time, specifying which response format has been selected. This puts the power of selection squarely in the hands of the client application but also means an additional “round trip” is made each time.

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/ch05.xhtml

EPUB SHA-256:db552473a29e61f8a9429a17bbb5c0a47985d7cbbfd2d402bce45fc4b11ee389