can i get httpOnly cookie work with vue-resource? can i get httpOnly cookie work with vue-resource? vue.js vue.js

can i get httpOnly cookie work with vue-resource?


To prevent cross-site scripting (XSS) attacks, HTTP-only cookies aren't accessible via JavaScript through the Document.cookie property, the XMLHttpRequest and Request APIs.

You may refer to here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#Secure_and_HttpOnly_cookies