mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Add a test for query parameters in HTTP POST
This commit is contained in:
parent
5f3c7524bc
commit
202b48aaa0
@ -0,0 +1 @@
|
||||
7
|
7
tests/queries/0_stateless/02382_query_parameters_post.sh
Executable file
7
tests/queries/0_stateless/02382_query_parameters_post.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CUR_DIR"/../shell_config.sh
|
||||
|
||||
${CLICKHOUSE_CURL} -X POST -F 'query=select {p1:UInt8} + {p2:UInt8}' -F 'param_p1=3' -F 'param_p2=4' "${CLICKHOUSE_URL}"
|
Loading…
Reference in New Issue
Block a user