edit-icon download-icon

Request structure

Last Updated: Apr 11, 2018

Endpoint

The endpoint of NAS APIs follows a format of nas.aliyuncs.com and nas.[RegionId.]aliyuncs.com.

Specifically, RegionId refers to the service region. You can call the API of the designated region based on your own region.

The service is available in the following regions.

Region RegionId Endpoint
Beijing cn-beijing nas.cn-beijing.aliyuncs.com
Shanghai cn-shanghai nas.cn-shanghai.aliyuncs.com
Hangzhou cn-hangzhou nas.cn-hangzhou.aliyuncs.com
Shenzhen cn-shenzhen nas.cn-shenzhen.aliyuncs.com

Communication protocol

HTTP and HTTPS protocols are supported for request communications. We recommend that you use an HTTPS channel which provides higher security.

Request methods

NAS API supports sending HTTP GET requests. Using this method, you are required to include request parameters in the request URL.

Request parameters

Each request must specify the operation to be executed, namely the Action parameter (such as DescribeRegions). Each operation must contain the common request parameters and the specific request parameters of the specified operation.

Character encoding

Requests and responses are both encoded using the UTF-8 character set.

Use SDK

JAVA, PHP, and, Python SDKs are currently supported.

We recommend that you use SDKs which can simplify the process for HTTP message encapsulation and signature operations. These are required for manual initialization of HTTP requests.

Thank you! We've received your feedback.