Request structure

Updated at:

You can call the object detection service by sending an HTTP or HTTPS request. The request must include parameters in the URL. Both the request and response are encoded in the UTF-8 character set.

The following example shows an unencoded URL request:
https://objectdet.cn-shanghai.aliyuncs.com/?Action=DetectMainBody&<Common request parameters>
  • https: Specifies the communication protocol for the request.
  • objectdet.cn-shanghai.aliyuncs.com: Specifies the endpoint of the object detection service.
  • cn-shanghai: The region ID. For a list of supported domain names, see Endpoints.
  • Action=DetectMainBody: Specifies the API operation to call.
  • <Common request parameters>: The common request parameters. These parameters are required for all API requests to visual intelligence services. For more information, see Common request parameters.