How to get cookie received from server?


After a request to the server it returns me the data and writes the authToken cookie. The first who came to mind options I couldn't get this token. Question: it is generally possible to obtain or not?

March 23rd 20 at 19:05
1 answer
March 23rd 20 at 19:07
Solution you Can, if not should the HttpOnly flag, which means that cookie is not available in the page code, but only for the server. Well, the domain of the server and the page must match.
Got it, thanks - luisa.Lynch commented on March 23rd 20 at 19:10

Find more questions by tags JavaScript