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