From c6844293c29979bd579969669ad51c7546f1864c Mon Sep 17 00:00:00 2001 From: Yangys Date: Mon, 27 Mar 2023 11:29:47 +0000 Subject: [PATCH] update zh-cn/application-dev/connectivity/http-request.md. Signed-off-by: Yangys --- zh-cn/application-dev/connectivity/http-request.md | 2 +- zh-cn/application-dev/reference/apis/js-apis-socket.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/connectivity/http-request.md b/zh-cn/application-dev/connectivity/http-request.md index 173496fe2d..cec44400b7 100644 --- a/zh-cn/application-dev/connectivity/http-request.md +++ b/zh-cn/application-dev/connectivity/http-request.md @@ -102,7 +102,7 @@ httpRequest.request( ```js // 引入包名 -import http from 'ohos.net.http' +import http from '@ohos.net.http' // 每一个httpRequest对应一个HTTP请求任务,不可复用 let httpRequest = http.createHttp(); diff --git a/zh-cn/application-dev/reference/apis/js-apis-socket.md b/zh-cn/application-dev/reference/apis/js-apis-socket.md index 7c005e0508..f3d2dff569 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-socket.md +++ b/zh-cn/application-dev/reference/apis/js-apis-socket.md @@ -2674,4 +2674,4 @@ TLS通信的协议版本。 | 类型 | 说明 | | --------------------------------------------------------------------- | --------------------- | -|[cryptoFramework.EncodingBlob](js-apis-cryptoFramework.md#datablob) | 存储证书的数据和编码格式 | +|[cert.EncodingBlob](js-apis-cert.md#datablob) | 存储证书的数据和编码格式 | -- GitLab