Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Depending on what the backend dictates, if necessary in the Authorization header, then yes.
Cookies and so with each request are "usually" sent along with the request to the server.
If you are using fetch, then you need to specify additionally what cookies should be sent
https://developer.mozilla.org/ru/docs/Web/API/Fetc...
fetch('https://example.com', {
credentials: 'include'
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question