文件最后提交记录最后更新时间
Issue: #I6DWJY Description: BasicFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
!2297 230修复橘子购物搜索栏显示问题、删除http废代码、ApplicationThemeSwitch的显示问题 * 修复GamePuzzle问题 3 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 3 年前
Issue: #I6DWJY Description: BasicFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 3 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 3 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 3 年前
Issue: #I6DWJY Description: BasicFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
Issue: #I6DWJY Description: BasicFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 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 9 (SDK version: 3.2.10.6).

  3. DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100) must be used.

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