[Vuejs]-Naming convention of v-model for Vuejs and Axios in a POST request (Issues encoding a Vue Object into JSON)

0👍

In one instance you’re sending an object, in the other a string. Although they will both be transferred as a string eventually, when you pass the object, the ContentType is set under the hood to application/json.

That being said, if you set the ContentType to application/json for the one you’re passing as a string, it will sort the issue.

Leave a comment