title: Send Data to a Django UpdateAPIView through Axios
body: <p>I am sending <code>Email</code> in the body of an <code>Axios patch request</code>.</p>
  <pre><code>const userData = await this.$axios.patch(`/user/${id}/update/`, {
            email: value
          })
  </code></pre>
  <p>I am sending it to this API View in with Django rest framework</p>
  <pre><code>class UserAPIView(generics.UpdateAPIView):
  
      serializer_class = serializers.UserDetailsSerializer
  
      def get_object(self):
          return User.objects.filter(id='id')
  </code></pre>
  <p>I tried running it on Swagger and Postman and it is working good, but in Axios, it throws an error of</p>
  <pre><code>TypeError: Cannot read property 'email' of undefined
  </code></pre>
  <p>Is there any other way of sending it? Thanks!</p>