Signed-off-by: lovechinamo <wangdongqi2@huawei.com>

Changes to be committed:
This commit is contained in:
lovechinamo 2022-06-17 16:18:17 +08:00
parent 6e545135cb
commit e420e7acac

View File

@ -691,14 +691,14 @@ declare namespace request {
* @since 6
* @permission ohos.permission.INTERNET
*/
header?: Object;
header: Object;
/**
* Request method: POST, PUT. The default POST.
*
* @since 6
* @permission ohos.permission.INTERNET
*/
method?: string;
method: string;
/**
* A list of files to be uploaded. Please use multipart/form-data to submit.
*
@ -712,7 +712,7 @@ declare namespace request {
* @since 6
* @permission ohos.permission.INTERNET
*/
data?: Array<RequestData>;
data: Array<RequestData>;
}
interface UploadTask {