Invocation methods

Updated at:

This topic describes the request and response patterns of API calls.

Request structure

The APIs for Address Purification use the RPC style. You can call an API by sending an HTTP GET request.

The request structure is as follows:

https://Endpoint/?Action=xx&Parameters

Where:

  • Endpoint: The service endpoint for Address Purification is address-purification.cn-hangzhou.aliyuncs.com.

  • Action: The operation to perform, such as calling ClassifyPOI to classify a Point of Interest (POI).

  • Version: The API version. The version for Address Purification is 2019-11-18.

  • Parameters: The request parameters, which are separated by an ampersand (&).

    Request parameters consist of common parameters and operation-specific parameters. Common parameters include information such as the API version and identity verification. For more information, see Common parameters.

The following example shows how to call the ClassifyPOI operation to classify a POI:

Note

The examples in this document are formatted for readability.

https://address-purification.cn-hangzhou.aliyuncs.com/?Action=ClassifyPOI
&Format=xml
&Version=2019-11-18
&Signature=xxxx%xxxx%3D
&SignatureMethod=HMAC-SHA1
&SignatureNonce=15215528852396
&SignatureVersion=1.0
&AccessKeyId=key-test
&Timestamp=2012-06-01T12:00:00Z
…