Skip to main content
POST
/
cloud
/
v1
/
user_actions
/
subscribe_amqp_test
Send test message
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>"
}
'

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Body

application/json
connection_string
string
required

Connection string of the following structure "scheme://username:password@host:port/virtual_host"

exchange
string

Exchange name

routing_key
string

Routing key

Response

204

No Content