mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-20 23:41:01 +00:00
10 lines
833 B
Bash
Executable File
10 lines
833 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
curl -vsS http://localhost:8123/?default_format=JSONCompact --data-binary @- <<< "SELECT 1" 2>&1 | grep '< Content-Type';
|
|
curl -vsS http://localhost:8123/ --data-binary @- <<< "SELECT 1 FORMAT JSON" 2>&1 | grep '< Content-Type';
|
|
curl -vsS http://localhost:8123/ --data-binary @- <<< "SELECT 1" 2>&1 | grep '< Content-Type';
|
|
curl -vsS http://localhost:8123/ --data-binary @- <<< "SELECT 1 FORMAT TabSeparated" 2>&1 | grep '< Content-Type';
|
|
curl -vsS http://localhost:8123/ --data-binary @- <<< "SELECT 1 FORMAT Vertical" 2>&1 | grep '< Content-Type';
|
|
curl -vsS http://localhost:8123/ --data-binary @- <<< "SELECT 1 FORMAT Native" 2>&1 | grep '< Content-Type';
|
|
curl -vsS http://localhost:8123/ --data-binary @- <<< "SELECT 1 FORMAT RowBinary" 2>&1 | grep '< Content-Type';
|