Open arnobl opened 6 months ago
If the user specifies an existing ID during a POST, it will update the existing resource and not create a new one.
Maybe add a new question after the first POST to discuss this point:
id
repo.save(todo)
todo.setId(-1)
If the user specifies an existing ID during a POST, it will update the existing resource and not create a new one.