[Vuejs]-Send Data to a Django UpdateAPIView through Axios

0👍

In js code, your email value is undefined, please try to hardcode some value for email and check if it works?

const userData = await this.$axios.patch(`/user/${id}/update/`, {
          email: "hardcode@email.com" 
        })

if it works, then you should check your js code why it is not setting the value of email.

Leave a comment