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 >,
0 个回复