HTTP Client Version Reference
This table provides a summary of the recommended axios or compatible HTTP client versions for various programming languages and frameworks.
| Language Type | HTTP Client Tool | Version Number |
|---|---|---|
| TypeScript | axios | 0.24.0+ |
| Dart | dio (axios-inspired) | 5.0.0+ |
| ArkTS | @ohos/axios | 2.2.0+ |
| UniApp | uni.request | Built-in |
Note:
- For ArkTS (HarmonyOS), the standard axios library is adapted via the
@ohos/axiospackage to ensure compatibility with the system's network stack.- For UniApp projects, use the built-in
uni.requestAPI which provides cross-platform compatibility across all UniApp supported platforms.