未验证 提交 933ebdc0 编写于 作者: K keliq 提交者: GitHub

Update http.md

上级 6ea9b691
......@@ -128,17 +128,13 @@ uni.request({
})
// 云函数收到的event为, 注意如果直接return此格式数据可能会被作为集成响应处理,参考下面的集成响应文档
```
```js
{
path: '/',
httpMethod: 'GET',
httpMethod: 'POST',
headers: {
...
"content-type": 'application/json'
},
queryStringParameters: {a: "1", b: "2"},
requestContext: {云开发相关信息},
isBase64Encoded: false,
body: '{"a":1,"b":2}',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册