Endpoints
The following table describes the endpoints of the Database Gateway API in different regions.
Region | Endpoint |
China (Hangzhou) | dg.cn-hangzhou.aliyuncs.com |
China (Shanghai) | dg.cn-shanghai.aliyuncs.com |
China (Qingdao) | dg.cn-qingdao.aliyuncs..com |
China (Beijing) | dg.cn-beijing.aliyuncs..com |
China (Zhangjiakou) | dg.cn-zhangjiakou.aliyuncs.com |
China (Hohhot) | dg.cn-huhehaote.aliyuncs.com |
China (Shenzhen) | dg.cn-shenzheng.aliyuncs.com |
China (Chengdu) | dg.cn-chengdu.aliyuncs.com |
China (Hong Kong) | dg.cn-hongkong.aliyuncs.com |
Singapore (Singapore) | dg.ap-southeast-1.aliyuncs.com |
Malaysia (Kuala Lumpur) | dg.ap-southeast-3.aliyuncs.com |
Indonesia (Jakarta) | dg.ap-southeast-5.aliyuncs.com |
Japan (Tokyo) | dg.ap-northeast-1.aliyuncs.com |
Germany (Frankfurt) | dg.eu-central-1.aliyuncs.com |
UK (London) | dg.eu-west-1.aliyuncs.com |
US (Silicon Valley) | dg.us-west-1.aliyuncs.com |
US (Virginia) | dg.us-east-1.aliyuncs.com |
Protocols
You can send API requests over HTTP or HTTPS. For secure communication, we recommend that you use HTTPS.
Methods
You can call an API operation by sending an HTTP GET request. If you use this method, the request parameters must be included in the request URL.
Request parameters
In each request, you must set the Action parameter to specify the operation that you want to perform, such as CreateDatabase. You must also specify the common request parameters and the operation-specific parameters.
Encoding
Requests and responses are encoded in UTF-8.