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": "amqps://guest:guest@192.168.123.20:5671/user_action_events",
"exchange": "exchange",
"routing_key": "routing_key"
}'
Sending a test message to a specified message broker
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": "amqps://guest:guest@192.168.123.20:5671/user_action_events",
"exchange": "exchange",
"routing_key": "routing_key"
}'
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
No Content
Was this page helpful?