How to set withCredentials=true to fetch which return promise. Is the following correct :
withCredentials=true
fetch(url,{ method:\'post\', headers, withC
Got it here :
credentials: 'include'
and not
withCredentials: true