All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

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.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback