原书出处
Mastering API Architecture
01
An accurate status code must be provided to the consumer, because often consumers will build logic around the status code provided in the response. We have seen many APIs that return errors in the body along with a 2xx type of response, which is used to indicate success.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Mastering API Architecture/_epub-src/OEBPS/ch01.xhtml#masteringapi-CHP-2-SECT-errors
EPUB SHA-256:5be3275a289df0138f17f72c8e9c84987cbe07a5fe28c7cbc649d6b5cd8a14dd