Request structure

Last updated:2021-10-26 22:56:19

To call an API operation of Kingsoft Cloud EBS, you must create a request, add common parameters and operation-specific parameters to the request based on the API document, and send the request to the specified endpoint.

The API request structure of EBS is as follows:

  1. Endpoint

    The EBS endpoint is ebs.api.ksyun.com.

  2. Communication protocol

    You can send a request over HTTP.

  3. Request method

    The EBS API supports the GET and POST methods.

    Note

    • You can use only one request method at a time. If the GET method is used, all parameters are obtained from the query string. If the POST method is used, all parameters are obtained from the request body.
    • If the GET method is used, all request parameters must be URL-encoded. If the POST method is used, all request parameters must be encoded in the x-www-form-urlencoded format.
  4. Request parameters

    A request contains common request parameters and operation-specific request parameters. The common request parameters are required for all API operations. For more information, see Common parameters. The operation-specific request parameters vary with API operations. For more information, see the “Request parameters” section for each API operation.

  5. Character encoding

    The requests and responses are encoded by using UTF-8 character sets.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈