泡菜哥
泡菜哥
  • 发布:2024-01-11 16:34
  • 更新:2024-01-11 16:34
  • 阅读:150

await uniCloud.httpclient.request status: 307 无法请求ngrok服务器

分类:uni-app

unipay await uniCloud.httpclient.request 云函数请求报错,我是用ngrok链接内网测试服务器,方便做测试,我用Postman请求都是正常的。uniCloud.httpclient.request无法请求ngrok服务器吗?

res:
{ status: 307,
statusCode: 307,
statusMessage: 'Temporary Redirect',
headers:
{ location: 'https://1297-120-22x-xx-120.ngrok-free.app/api/trade/verifyPayment/',
'ngrok-trace-id': 'c684c2bdd59880d8b89daacf1981600f',
date: 'Thu, 11 Jan 2024 08:22:44 GMT',
'content-length': '0' },
size: 0,
aborted: false,
rt: 238,
keepAliveSocket: false,
data: <Buffer >,

2024-01-11 16:34 负责人:无 分享
已邀请:

要回复问题请先登录注册