[Vuejs]-Axios sending a status201 for a put method using a form on vue3 but nothing change

0👍

Figured out by myself.

i stored the userId, firstname and lastname in the localStorage on login then i did

formData.append('firstname', localStorage.getItem("firstname"));
            formData.append('lastname', localStorage.getItem("lastname"));
            formData.append('userId', localStorage.getItem("userId"));

dont know if its the right way to do it but it works so…

Leave a comment