This topic describes the syntax of requests to call AnalyticDB for MySQL API operations.

Endpoint

The following table lists the endpoints of AnalyticDB for MySQL in different regions.

Region Endpoint
China (Qingdao), China (Beijing), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Hong Kong), Singapore, US (Virginia), and US (Silicon Valley). adb.aliyuncs.com
China (Zhangjiakou) adb.cn-zhangjiakou.aliyuncs.com
Japan (Tokyo) adb.ap-northeast-1.aliyuncs.com
Malaysia (Kuala Lumpur) adb.ap-southeast-3.aliyuncs.com
Australia (Sydney) adb.ap-southeast-2.aliyuncs.com
UAE (Dubai) adb.me-east-1.aliyuncs.comm
China (Hohhot) adb.cn-huhehaote.aliyuncs.com
India (Mumbai) adb.ap-south-1.aliyuncs.com
Indonesia (Jakarta) adb.ap-southeast-5.aliyuncs.com
Germany (Frankfurt) adb.eu-central-1.aliyuncs.com
UK (London) adb.eu-west-1.aliyuncs.com
China (Chengdu) adb.cn-chengdu.aliyuncs.com

Communication protocols

You can call AnalyticDB for MySQL API operations by sending HTTP or HTTPS requests. We recommend that you send requests over HTTPS to enhance security.

Request methods

You can use the HTTP GET method to send the request for calling an API operation. If you use this method, the request parameters must be included in the URL of the request.

Request parameters

In each request, you must specify the operation such as CreateDatabase that you want to perform by using the Action parameter. You must also specify the common request parameters and the specific parameters that are required by the operation.

Encoding

All requests and responses are encoded in UTF-8.