ranm8 / requestify

Simplifies node HTTP request making.
http://ranm8.github.io/requestify
MIT License
223 stars 55 forks source link

Add withCredentials flag for global fetch #60

Open ofirattia opened 7 years ago

ofirattia commented 7 years ago

Supporting CORS, fixing issue when using session id not on the same domain, on the global fetch there is withCredentials flag, if its true it will set the credentials to "include" otherwise to same-origin.