vue-resource icon indicating copy to clipboard operation
vue-resource copied to clipboard

payload request can't carry cookie and HTTP body.

Open answershuto opened this issue 7 years ago • 1 comments

When I use credentials to send a payload request that carry the cookie, it can't send the request with cookie and HTTP body.

Vue.http.post(url, params, {credentials : true} );

but I add this code, it send a formdata request with cookie.

Vue.http.options.emulateJSON = true;

why?

answershuto avatar Jul 21 '17 05:07 answershuto

wtf? where is the demo ?

everlose avatar Jul 21 '17 12:07 everlose