axios send set-cookie headers code example Example: axios send request with cookies axios.get('some api url', {withCredentials: true});