Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

payload request can't carry cookie and HTTP body. #634

Open
answershuto opened this issue Jul 21, 2017 · 1 comment
Open

payload request can't carry cookie and HTTP body. #634

answershuto opened this issue Jul 21, 2017 · 1 comment

Comments

@answershuto
Copy link

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?

@everlose
Copy link

everlose commented Jul 21, 2017

wtf? where is the demo ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants