When you use the POST method to add some new data to an endpoint.
Later, when i try to update the data using either PUT or PATCH method, it simply does not exist, visiting the URL says "Not Found" but the object is shown in the total list on the endpoint. (Refer to the images attached below)
I think this is because the new object's id is not being saved as a String, causing it to not recognize it.
Restarting the server fixes the id and converts it into a String
When you use the POST method to add some new data to an endpoint. Later, when i try to update the data using either PUT or PATCH method, it simply does not exist, visiting the URL says "Not Found" but the object is shown in the total list on the endpoint. (Refer to the images attached below)
![image](https://github.com/typicode/json-server/assets/75422863/eef6acba-c666-48f5-b35e-37e51b5d511b)