The Message Queue for RabbitMQ API allows you to make API requests by using HTTP, SDKs, and OpenAPI Explorer.

Call API operations by using HTTP

To send a Message Queue for RabbitMQ API request, you must send an HTTP GET request to the Message Queue for RabbitMQ endpoint. You must add the request parameters that correspond to the API operation being called. After you call the API operation, the system returns a response. The request and response are encoded in UTF-8. Message Queue for RabbitMQ API operations use the RPC protocol. You can call Message Queue for RabbitMQ API operations by sending HTTP GET requests.

The request syntax is as follows:
https://Endpoint/?Action=xx&Parameters
where:
  • Endpoint: the endpoint of the Message Queue for RabbitMQ API. For more information, see Endpoints.
  • Action: the name of the operation being performed. For example, to query created Message Queue for RabbitMQ instances, you must set the Action parameter to ListInstances.
  • Version: the version number of the Message Queue for RabbitMQ API. Set the value to 2019-12-12.
  • Parameters: the request parameters for the operation. Separate multiple parameters with ampersands (&).

    Request parameters include both common parameters and operation-specific parameters. Common parameters include the API version and authentication information. For more information, see Common parameters.

Call API operations by using SDKs

Message Queue for RabbitMQ provides SDKs for multiple programming languages. Alibaba Cloud SDKs free you from manually making signatures. For more information, see SDK download links.

Call API operations by using OpenAPI Explorer

OpenAPI Explorer is a visual tool for calling APIs. OpenAPI Explorer allows you to call APIs of Alibaba Cloud services and APIs provided in Alibaba Cloud API Marketplace. You can call these APIs on a web page or command-line interface (CLI). In addition, OpenAPI Explorer allows you to view the request and response of each API call and dynamically generates SDK sample code. Click the link to access OpenAPI Explorer.