Returning a Single JSON Object via Request Params

Giovanni Pace

Description

I'll show you how to use request parameters in Express to fetch and return a single object from the in-memory dataset. We'll also handle the case where the item is not found, returning the appropriate HTTP status code.