July 2021
Intermediate to advanced
480 pages
14h 40m
English
This chapter covers
When errors occur in web APIs, some of them are due to client mistakes, while others are due to issues outside the client’s control. Often the best solution to this second group of errors is to retry the same request at a later time in hopes of a different result. In this pattern, we’ll explore a mechanism by which clients can have clear direction in both how and when they retry requests that have previously failed due to errors on the API server.
It’s an inevitable fact of web APIs that some requests ...