search

Home  >  Q&A  >  body text

javascript - fetch cross-domain request carries cookie, setting include also failed

Set during fetch request

credentials: 'include'

The cookie is still not added during the request

Or do you need to set other attributes to take effect?
Or what needs to be set in the background to make this setting take effect?
Please ask God for answers

世界只因有你世界只因有你2840 days ago713

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-19 10:09:44

    The backend setting is Access-Control-ALLOW-Credentials,true

    reply
    0
  • Cancelreply