mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fdc6de2a27
adds a new "virtual" parameter `__request_body` which can be used in http rules, see below tremendously helps in producing arbitrary REST interfaces for example: ```xml <http_handlers> <rule> <methods>POST</methods> <url>/ingest</url> <handler> <type>predefined_query_handler</type> <query>INSERT INTO events(id, data) SELECT {id:UInt32}, {__request_body:String}</query> </handler> </rule> </http_handlers> ``` |
||
---|---|---|
.. | ||
test_defaults_handlers | ||
test_dynamic_handler | ||
test_predefined_handler | ||
test_prometheus_handler | ||
test_replicas_status_handler | ||
test_static_handler | ||
__init__.py | ||
test.py |