mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 09:22:53 +00:00
Signed-off-by: lovechinamo <wangdongqi2@huawei.com>
Changes to be committed:
This commit is contained in:
parent
6e545135cb
commit
e420e7acac
6
api/@ohos.request.d.ts
vendored
6
api/@ohos.request.d.ts
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user