[英]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.