Why is json-server not returning individual records for my endpoint?
I am using json-server
to serve data from a JSON file for my React application. When I access http://localhost:3000/delivery_centers
, it correctly returns all delivery centers. However, when I try to access an individual delivery center using http://localhost:3000/delivery_centers/1
, I get a “Not Found” error.