I've got this code:
axios.delete('/notes/' + this.note.id + '/favorite');
But if I inspect my network tab, I see these two requests:
delete: http://notes.local/notes/4/favorite delete: http://notes.local/notes/4
So, my note will be deleted too. What can I do about this?
Thank you! Jeroen
Note: by the favorite post request I do have the same problem, but then I get a 404 error, so it's not a problem.