Is it possible to prevent cookies to be sent in every HTTP request?

后端 未结 3 1927
轻奢々
轻奢々 2021-02-07 12:05

I recently found (here: Does every web request send the browser cookies?) that every HTTP request contains the cookies related to a domain every time a request is made to that s

3条回答
  •  情话喂你
    2021-02-07 12:56

    You Can Use Fetch with the credentials option set to omit see

    https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API

提交回复
热议问题