how to send cookie in header axios code example Example: axios send request with cookies axios.get('some api url', {withCredentials: true});