翛然dl 已于 2024-08-26 11:47:54 修改 阅读量588 收藏 4 点赞数 7 分类专栏: HarmonyOS 文章标签: 网络 harmonyos ArkTs 于 2024-08-22 10:10:06 首次发布 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 下载安装axios ohpm install @ohos/axios 需要权限 { "module": { "requestPermissions": [ { "name": "ohos.permission.INTERNET", "reason": "$string:permission_internet", "usedScene": { "abilities": [ "EntryAbility" ], //inuse(使用时)、always(始终)。 "when": "inuse" } } ] } } AES加密数据: let jsonParams: string = JSON.stringify(obj) Logger.debug(TAG,...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Internal AxiosRequest
Contact Internal AxiosRequest, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack