{
"id": "connecton-1",
"typ":"mqtt",
"props": {
"server": "tcp://182.92.178.112:1883",
"topic":"event",
"username":"root",
"password":"123456",
"bufferLength":10240000
}
}curl --location 'http://127.0.0.1:8001/connections' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJZCI6MSwiVXNlcm5hbWUiOiJ0ZXN0In0.zxlvDcK7DIIzrlM92HmZvXDfTMwg-uZyK5aOvr4X4KE' \
--header 'Content-Type: application/json' \
--data '{
"id": "connecton-1",
"typ":"mqtt",
"props": {
"server": "tcp://182.92.178.112:1883",
"topic":"event",
"username":"root",
"password":"123456",
"bufferLength":10240000
}
}'{}