vue-resource
vue-resource copied to clipboard
payload request can't carry cookie and HTTP body.
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?
wtf? where is the demo ?