{
"sql": "create stream my_stream (id bigint, name string, score float) WITH ( datasource = \"topic/temperature\", FORMAT = \"json\", KEY = \"id\")"
}curl --location 'http://127.0.0.1:8001/streams' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJZCI6MSwiVXNlcm5hbWUiOiJ0ZXN0In0.zxlvDcK7DIIzrlM92HmZvXDfTMwg-uZyK5aOvr4X4KE' \
--header 'Content-Type: application/json' \
--data '{
"sql": "create stream my_stream (id bigint, name string, score float) WITH ( datasource = \"topic/temperature\", FORMAT = \"json\", KEY = \"id\")"
}'{}