标签: node.js authentication cookies axios
我使用axios登录到服务器并查询和api。这是数据响应。
[ 'authToken=xxxxxxxx; Domain=domain.goes.here; Expires=Wed, 30-Oct-2019 12:59:27 GMT; Path=/; Secure; HttpOnly' ]
这在浏览器中工作正常,但我现在尝试在节点中执行此操作。
如何在节点中添加身份验证cookie,以便可以进行进一步的api调用。