Skip to content
Advertisement

Tag: put

Http PUT deletes data that hasn’t been changed

I am trying to edit a JSON data base of shifts. I am writing in Javascript using react. This is my understanding of the PUT syntax: data.json: The result is that the new shift will hold only the fields that have been changed and delete the rest. Any ideas why? Answer I had to send the whole updated shift into

Advertisement