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>" } '
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
"amqps://guest:guest@192.168.123.20:5671/user_action_events"
Exchange name
"exchange"
Routing key
"routing_key"
No Content
Was this page helpful?