Add a test for query parameters in HTTP POST

This commit is contained in:
Alexey Milovidov 2022-08-10 10:10:28 +02:00
parent 5f3c7524bc
commit 202b48aaa0
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
7

View 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}"