Skip to content

Commit

Permalink
Update request.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Nov 15, 2019
1 parent 4de8b7e commit 4f15a25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/request/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
|data|Object/String/ArrayBuffer|||请求的参数|5+App(自定义组件编译模式)不支持ArrayBuffer类型|
|header|Object|||设置请求的 header,header 中不能设置 Referer。||
|method|String||GET|有效值详见下方说明||
|timeout|Number||30000|超时时间,单位 ms|支付宝小程序|
|dataType|String||json |如果设为 json,会尝试对返回的数据做一次 JSON.parse||
|responseType|String||text |设置响应的数据类型。合法值:text、arraybuffer|5+App和支付宝小程序不支持|
|sslVerify|Boolean||true|验证 ssl 证书|仅5+App安卓端支持(HBuilderX 2.3.3+)|
Expand Down

0 comments on commit 4f15a25

Please sign in to comment.