Chaining JavaScript Promises While Sharing Parent Data

added by JavaScript Kicks
7/17/2019 7:32:29 AM

634 Views

Typically when I'm working with RESTful APIs, the routes or endpoints return what I need, plus more, which would be too much data. However, recently I ended up working with an API where the responses were rather trim, resulting in the need to use many HTTP requests to various endpoints, rather than getting everything in a single request.


0 comments