pagekit / vue-resource

The HTTP client for Vue.js
MIT License
10.09k stars 1.6k forks source link

Each POST request is always executed multiple times #705

Open JohnOllhorn opened 6 years ago

JohnOllhorn commented 6 years ago

Every time I make a POST request, the call is executed between 3 and 6 times, although the first call was already successful.

How can I stop this? What is this related to?

thx

Object { name: "POST", source: "http://HOST/api", object: "Data", status: 200, statusText: "OK", error: false, errorText: null, date: Date 2018-09-16T04:01:56.347Z, user: "", platform: {…}, … }

Object { name: "POST", source: "http://HOST/api", object: "Data", status: 422, statusText: "Unprocessable Entity", error: true, errorText: {…}, date: Date 2018-09-16T04:01:56.650Z, user: "", platform: {…}, … }

Object { name: "POST", source: "http://HOST/api", object: "Data", status: 422, statusText: "Unprocessable Entity", error: true, errorText: {…}, date: Date 2018-09-16T04:01:56.654Z, user: "", platform: {…}, … }

Object { name: "POST", source: "http://HOST/api", object: "Data", status: 422, statusText: "Unprocessable Entity", error: true, errorText: {…}, date: Date 2018-09-16T04:01:56.656Z, user: "", platform: {…}, … }

Object { name: "POST", source: "http://HOST/api", object: "Data", status: 422, statusText: "Unprocessable Entity", error: true, errorText: {…}, date: Date 2018-09-16T04:01:56.661Z, user: "", platform: {…}, … }

Object { name: "POST", source: "http://HOST/api", object: "Data", status: 422, statusText: "Unprocessable Entity", error: true, errorText: {…}, date: Date 2018-09-16T04:01:56.664Z, user: "", platform: {…}, … }

Object { name: "POST", source: "http://HOST/api", object: "Data", status: 422, statusText: "Unprocessable Entity", error: true, errorText: {…}, date: Date 2018-09-16T04:01:56.668Z, user: "", platform: {…}, … }

Object { name: "POST", source: "http://HOST/api", object: "Data", status: 422, statusText: "Unprocessable Entity", error: true, errorText: {…}, date: Date 2018-09-16T04:01:56.671Z, user: "", platform: {…}, … }