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

Endpoints

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). ads.aliyuncs.com
China (Zhangjiakou-Beijing Winter Olympics) ads.cn-zhangjiakou.aliyuncs.com
Japan (Tokyo) ads.ap-northeast-1.aliyuncs.com
Malaysia (Kuala Lumpur) ads.ap-southeast-3.aliyuncs.com
Australia (Sydney) ads.ap-southeast-2.aliyuncs.com
UAE (Dubai) ads.me-east-1.aliyuncs.comm
China (Hohhot) ads.cn-huhehaote.aliyuncs.com
India (Mumbai) ads.ap-south-1.aliyuncs.com
Indonesia (Jakarta) ads.ap-southeast-5.aliyuncs.com
Germany (Frankfurt) ads.eu-central-1.aliyuncs.com
UK (London) ads.eu-west-1.aliyuncs.com
China (Chengdu) ads.cn-chengdu.aliyuncs.com

Communication protocols

You can call AnalyticDB for MySQL API operations by sending HTTP or HTTPS requests. We recommend that you use HTTPS for enhanced security.

Request methods

You can use the HTTP GET method to send requests. 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 operation-specific parameters.

Encoding

All requests and responses are encoded in UTF-8.