Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HMS Core
API protocol: HTTPS
Response data format: JSON
Data charset: UTF-8
- Example: The app-level access token is thisIsAppAtValue, then APPAT:atvalue is APPAT:thisIsAppAtValue.
Therefore, replace APPAT:atvalue in Base64(APPAT:atvalue) with "APPAT:thisIsAppAtValue" to generate value QVBQQVQ6dGhpc0lzQXBwQXRWYWx1ZQ==.
The value of Authorization in the request header is as follows: Basic QVBQQVQ6dGhpc0lzQXBwQXRWYWx1ZQ==
To fortify server-side security, pass the SHA256WithRSA/PSS signature algorithm to relevant APIs of HUAWEI IAP. SHA256WithRSA/PSS is the recommended signature algorithm. The configuration is as follows:
Service | Site Information |
|---|---|
Order | China: https://orders-drcn.iap.cloud.huawei.com.cn Germany: https://orders-dre.iap.cloud.huawei.eu Singapore: https://orders-dra.iap.cloud.huawei.asia Russia: https://orders-drru.iap.cloud.huawei.ru |
Subscription | China: https://subscr-drcn.iap.cloud.huawei.com.cn Germany: https://subscr-dre.iap.cloud.huawei.eu Singapore: https://subscr-dra.iap.cloud.huawei.asia Russia: https://subscr-drru.iap.cloud.huawei.ru |
Cipher suites:
TLS Version | Cipher Suite (IANA Name) | Remarks |
|---|---|---|
TLS 1.3 | TLS_AES_128_GCM_SHA256 TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 | Now, the Russia site still uses TLS 1.2, instead of TLS 1.3. Certainly, TLS 1.3 will be supported in the future. |
TLS 1.2 | TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 |
You need to select one from the four sites: Chinese mainland site, Germany site, Singapore site, and Russia site. Here are some suggestions about site selection:
If your server is in the Chinese mainland, access the Chinese mainland site through its domain name.
If your server is in Asia, Africa, or Latin America, access the Singapore site through its domain name.
If your server is in Russia, access the Russia site through its domain name.
If your server is in Europe or North America, access the Germany site through its domain name.
If the certificate of the server is not verified or is tampered with, the client may connect to an unexpected server. This will cause security issues like man-in-the-middle attacks and data leakage. To ensure connection security, it is necessary for your server to verify the certificate provided by the Huawei IAP server, when your server accesses the Huawei IAP server.
The verification consists of two parts: First, check whether the certificate is from a trusted source. Second, check whether the Huawei IAP server provides the correct certificate.
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.