ClickHouse/tests/integration/test_http_handlers_config
Constantine Peresypkin fdc6de2a27 use http request body in predefined http handlers
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>
```
2023-03-02 12:51:48 +01:00
..
test_defaults_handlers Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
test_dynamic_handler Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
test_predefined_handler use http request body in predefined http handlers 2023-03-02 12:51:48 +01:00
test_prometheus_handler Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
test_replicas_status_handler Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
test_static_handler Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
__init__.py ISSUES-5436 fix integration test failure & add test 2020-04-23 17:11:20 +08:00
test.py use http request body in predefined http handlers 2023-03-02 12:51:48 +01:00