文件最后提交记录最后更新时间
Issue: #I6DWJY Description: BasicFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
ArkTs 整改 2 年前
ArkTs 整改 2 年前
ArkTs 整改 2 年前
update code/BasicFeature/Connectivity/Http/http/src/main/ets/components/model/http.ts. Signed-off-by: Yangys <yangyousheng@huawei.com> 2 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
ArkTs 整改 2 年前
CustomShare、StageModel、http README死链修复以及补充WindowManager缺少模块 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 2 年前
ArkTs 整改 2 年前
Issue: #I6DWJY Description: BasicFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
AbilityStartMode、RPC、DotTest、FaultLogger、Http、ScreenDetector迁移 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 3 年前
AbilityStartMode、RPC、DotTest、FaultLogger、Http、ScreenDetector迁移 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 3 年前
AbilityStartMode、RPC、DotTest、FaultLogger、Http、ScreenDetector迁移 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 3 年前
http、GamePuzzle:添加测试用例 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
README.md

HTTP

Introduction

This sample shows how to use the TextInput component to enter parameters and use the Text component to display the return result.

In this example, we'll use SystemCapability.Communication.NetStack to initiate HTTP network requests to the destination URL based on specified configuration.

Usage

  1. When starting the sample application, configure the network request by specifying the destination URL, request mode, and request parameters.

  2. Click OK. The request result page is displayed.

  3. Click Back to return to the configuration page.

NOTE: You can compile the http module into a .tgz package depending on your need.

Display Effect

Required Permissions

Access to the Internet: ohos.permission.INTERNET

Dependency

N/A

Constraints

  1. This sample can only be run on standard-system devices that use the Rockchip RK3568 chip.

  2. This sample demonstrates the stage model, which supports only the SDK of API version 10 (SDK version: 4.0 Release).

  3. DevEco Studio 4.0 Release must be used.

  4. This sample requires network connection throughout the entire process.