cURL
curl --request POST \ --url https://api.gcore.com/cloud/v1/user_actions/subscribe_amqp_test \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "connection_string": "<string>", "exchange": "<string>", "routing_key": "<string>" } '
Sending a test message to a specified message broker
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Connection string of the following structure "scheme://username:password@host:port/virtual_host"
virtual_host
Exchange name
Routing key
No Content
Was this page helpful?