News for hackers. Stuff that matters.
Re:Modern Node.js Patterns by moritzruth on Monday August 04, 2025 @05:25AM (#44783549)
IMU because you don't necessarily want the response body. The first promise resolves after the headers are received, the .json() promise resolves only after the full body is received (and JSON.parse'd, but that's sync anyway).

There are no comments on this comment yet.