From 182fe4c2ac14bf1061aef64ed369b99a6b8f9669 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Thu, 30 Jan 2020 20:19:26 +0800 Subject: [PATCH] Update cf-functions.md --- docs/uniCloud/cf-functions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/uniCloud/cf-functions.md b/docs/uniCloud/cf-functions.md index 54a035a8df..962675e195 100644 --- a/docs/uniCloud/cf-functions.md +++ b/docs/uniCloud/cf-functions.md @@ -45,7 +45,8 @@ const res = await uniCloud.httpclient.request(apiUrl, { method: 'POST', data: { test: 'testValue' - } + }, + dataType: 'json' }) console.log(res) ``` -- GitLab