Answer the question
In order to leave comments, you need to log in
How to change a specific field with a request in json - server?
Good evening.
There is a package json - server.
I'm trying to figure out how to resolve the situation. There is an array of objects in the API. options. Each element of the array contains something like this structure. And if I want to change only the title of the list with id 0 (for example). So how do I properly issue a patch request? After all, json - server will not understand me if I want to issue the address localhost: 3004 / options / 1 / lists, everything seems to work there according to the ID and it does not go into the depths. Do I need to change the structure at all? I didn't find anything in the documentation.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question