diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..73f69e0958611ac6e00bde95641f6699030ad235
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
+# Editor-based HTTP Client requests
+/httpRequests/
diff --git a/.idea/interface_sdk-js.iml b/.idea/interface_sdk-js.iml
new file mode 100644
index 0000000000000000000000000000000000000000..bc2cd87409057301f546d83bd548111b9a241cb1
--- /dev/null
+++ b/.idea/interface_sdk-js.iml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000000000000000000000000000000000000..732dc43fc937f5ebec04206f286990c4c7dbb145
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000000000000000000000000000000000000..94a25f7f4cb416c083d265558da75d457237d671
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/api/@ohos.net.connection.d.ts b/api/@ohos.net.connection.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..3080101bf905e4073094b1d6de1937d1804edb1a
--- /dev/null
+++ b/api/@ohos.net.connection.d.ts
@@ -0,0 +1,75 @@
+/*
+ * Copyright (C) 2022 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import {AsyncCallback, Callback} from "./basic";
+import http from "./@ohos.net.http";
+import socket from "./@ohos.net.socket";
+
+/**
+ * Provides interfaces to manage and use data networks.
+ *
+ * @since 8
+ * @sysCap SystemCapability.Communication.NetStack
+ * @devices phone, tablet, tv, wearable, car
+ */
+declare namespace connection {
+ type HttpRequest = http.HttpRequest;
+ type TCPSocket = socket.TCPSocket;
+ type UDPSocket = socket.UDPSocket;
+
+ /**
+ * Obtains the data network that is activated by default.
+ *
+ *
To call this method, you must have the {@code ohos.permission.GET_NETWORK_INFO} permission.
+ *
+ * @param callback Returns the {@link NetHandle} object;
+ * returns {@code null} if the default network is not activated.
+ * @permission ohos.permission.GET_NETWORK_INFO
+ */
+ function getDefaultNet(callback: AsyncCallback): void;
+ function getDefaultNet(): Promise;
+
+ export interface NetHandle {
+
+ /**
+ * Resolves a host name to obtain all IP addresses based on the specified NetHandle.
+ *
+ * @param host Indicates the host name or the domain.
+ * @param callback Returns the NetAddress list.
+ */
+ getAddressesByName(host: string, callback: AsyncCallback>): void;
+ getAddressesByName(host: string): Promise>;
+
+ /**
+ * Resolves a host name to obtain the first IP address based on the specified NetHandle.
+ *
+ * @param host Indicates the host name or the domain.
+ * @return Returns the first NetAddress.
+ */
+ getAddressByName(host: string, callback: AsyncCallback): void;
+ getAddressByName(host: string): Promise;
+ }
+
+ /**
+ * @since 7
+ */
+ export interface NetAddress {
+ address: string;
+ family?: number; // IPv4 = 1; IPv6 = 2, default is IPv4
+ port?: number; // [0, 65535]
+ }
+}
+
+export default connection;
\ No newline at end of file
diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..944b3992145a771cfd0ec1c6704249c8dde1c8a4
--- /dev/null
+++ b/api/@ohos.net.http.d.ts
@@ -0,0 +1,136 @@
+/*
+ * Copyright (C) 2022 Huawei Device Co., Ltd.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import {AsyncCallback, Callback} from "./basic";
+
+/**
+ * Provides http related APIs.
+ *
+ * @since 6
+ * @sysCap SystemCapability.Communication.NetManager
+ * @devices phone, tablet, tv, wearable, car
+ */
+declare namespace http {
+ function createHttp(): HttpRequest;
+
+ export interface HttpRequestOptions {
+ method?: RequestMethod; // default is GET
+ /**
+ * extraData can be a string or an ArrayBuffer(API 8).
+ */
+ extraData?: string | Object | ArrayBuffer;
+ header?: Object; // default is 'content-type': 'application/json'
+ readTimeout?: number; // default is 60000ms
+ connectTimeout?: number; // default is 60000ms.
+ }
+
+ export interface HttpRequest {
+ request(url: string, callback: AsyncCallback): void;
+ request(url: string, options: HttpRequestOptions, callback: AsyncCallback): void;
+ request(url: string, options?: HttpRequestOptions): Promise;
+
+ destroy(): void;
+
+ /**
+ * @deprecated use once() instead since 8.
+ */
+ on(type: "headerReceive", callback: AsyncCallback