http request, json-server

hello guys, using http patch how can i modify only certain todo items within the todo array? Example i want to update only the taskName of the 1st array of todo
I am using axios
Endpoint: http://localhost:3000/tasks/1

{
  "title": "title",
  "todo": [
    {
      "taskName": "task 1",
      "checked": false
    },
    {
      "taskName": "task 2",
      "checked": false
    }
  ],
  "id": 1
}
Was this page helpful?