From 258bf4a84010eefe325b129a0acc9c51a1ffe25a Mon Sep 17 00:00:00 2001
From: affanshahid Routing
cats), Nest will map every /cats GET request to this method.
- When a GET request is made to this endpoint, Nest will now return a 200 status code and the serialized JSON - response, which in this case just an empty array. Why does that happen? Generally, we distinguish two different + When a GET request is made to this endpoint, Nest will now return a 200 status code and the associated + response, which in this case is just a string. Why does that happen? Generally, we distinguish two different approaches to manipulate responses: