1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openharmony-applications_app_samples

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
Внести вклад в разработку кода
Синхронизировать код
Отмена
Подсказка: Поскольку Git не поддерживает пустые директории, создание директории приведёт к созданию пустого файла .keep.
2 лет назад
год назад
год назад
2 лет назад
Loading...
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.

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/openharmony-applications_app_samples.git
git@gitlife.ru:oschina-mirror/openharmony-applications_app_samples.git
oschina-mirror
openharmony-applications_app_samples
openharmony-applications_app_samples
master-v