![](/img/trans.png)
[英]I'm getting an error for an unrecognized function within Auth0's node package, specifically in their AuthenticationClient and ManagementClient API
[英]How can I return the response data from Auth0's API on my API?
我正在调用 Auth0 的 API 和 axios 来获取用户列表。 我正在尝试使用我正在使用此语法的语法返回它们:
.then(res => {
console.log(res.data) // Prints the deired result
return res.status(200).json(res.data);
})
res.data 正在打印所需的结果。 但我在 Postman 上得到并清空响应正文。
我也试过return res.data
,只是为了得到一个超时。
我错过了什么?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.