The Alibaba Cloud Visual Intelligence API is based on the Remote Procedure Call (RPC) protocol. Each API operation must include common request parameters.
Request example
http://objectdet.cn-shanghai.aliyuncs.com/?Signature=NAxwl1W9ROkidJfGeZrsKUXw%2BQ****
&AccessKeyId=testId
&Action=DetectMainBody
&Format=JSON
&RegionId=cn-shanghai
&SignatureMethod=HMAC-SHA1
&SignatureNonce=313ef0fb-0393-464f-a6e2-59d9ca2585b1
&SignatureVersion=1.0
&Timestamp=2019-10-12T08%3A18%3A18Z
&Version=2019-12-30Request parameters
Name | Type | Required | Description |
Signature | String | Yes | The request signature. This is the final generated signature string. For more information about how to generate a request signature, see Request signature. |
AccessKeyId | String | Yes | The ID of the AccessKey that you use to access the service. For more information, see Create an AccessKey. |
Action | String | Yes | The name of the API operation. |
Format | String | No | The format of the response message. Valid values: |
RegionId | String | No | The ID of the region that the API supports. Example: |
SignatureMethod | String | Yes | The signature method. Valid value: |
SignatureNonce | String | Yes | A unique random number for the signature. It is used to prevent replay attacks. Use a different random number for each request. If you use Java, generate this number using |
SignatureVersion | String | Yes | The version of the signature algorithm. Valid value: |
Timestamp | String | Yes | The timestamp of the request. The timestamp must be in UTC and follow the ISO 8601 standard. The format is YYYY-MM-DDThh:mm:ssZ. For example, |
Version | String | Yes | The version number of the API operation. The format is YYYY-MM-DD. Valid value: |