Computer Science, asked by mayank8390, 1 year ago

Access cookie which is sent using server in react client side

Answers

Answered by mrpride42t
2

What you suggested is correct, if you'd like your server-side HTTP requests to contain the original request's cookies, you need to construct your HTTP client (axios in your case) in a way that allows it to have access to headers either on instantiation or before making each reques

Similar questions