4***@qq.com
4***@qq.com
  • 发布:2024-02-18 18:10
  • 更新:2024-02-18 18:12
  • 阅读:321

调用uni-id-co,云函数url后externalRegister报错非法请求

分类:uniCloud

请求参数
avatar: "http://file.51tf.cn/avatar/2024-1/1.png"
clientInfo: {uniPlatform: "mp-weixin", appId: "UNID967070"}
externalUid: 3
gender: 1
nickname: "用户0791"

请求头
Content-Type: application/json
uni-id-nonce: 1346423655
uni-id-signature: 5BED1A263DB9DF760E5A7306CF313212F8C42E17FDD5CEAB79A8451065333753
uni-id-timestamp: 1708250394000
Cache-Control: no-cache

2024-02-18 18:10 负责人:无 分享
已邀请:
4***@qq.com

4***@qq.com (作者)

请求入参: {
"args": {
"path": "/externalRegister",
"httpMethod": "POST",
"headers": {
"content-length": "169",
"referer": "https://servicewechat.com/wx47284582cc4ae3fd/devtools/page-frame.html",
"sec-fetch-site": "cross-site",
"x5-uuid": "3da7640597983c1cdabef030bb570919",
"uni-id-signature": "5BED1A263DB9DF760E5A7306CF313212F8C42E17FDD5CEAB79A8451065333753",
"uni-id-nonce": "1346423655",
"x-client-ip": "222.247.195.11",
"host": "fc-mp-27ad028c-fdbb-4357-ad1b-1a780be53f9c.next.bspapp.com",
"content-type": "application/json",
"cache-control": "no-cache",
"sec-fetch-mode": "cors",
"x-forwarded-for": "222.247.195.11, 118.178.15.145, 39.96.119.192",
"accept": "/",
"x-real-ip": "222.247.195.11",
"uni-id-timestamp": "1708250394000",
"x-sinfo": "on",
"x-forwarded-by": "172.28.211.109:80",
"accept-encoding": "gzip, deflate, br",
"user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Mobile/15E148 Safari/604.1 wechatdevtools/1.06.2401020 MicroMessenger/8.0.5 webview/",
"sec-fetch-dest": "empty"
},
"queryStringParameters": {},
"isBase64Encoded": false,
"body": "{\"clientInfo\":{\"uniPlatform\":\"mp-weixin\",\"appId\":\"UNID967070\"},\"externalUid\":3,\"nickname\":\"用户0791\",\"avatar\":\"http://file.51tf.cn/avatar/2024-1/1.png\",\"gender\":1}"
},
"requestId": "ac1cd36d1708250394458178114"
}
请求响应状态: success

要回复问题请先登录注册