mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update http.md
This commit is contained in:
parent
cf9a636100
commit
edbe6c7638
@ -88,13 +88,6 @@ Using the familiar INSERT query for data insertion:
|
||||
$ echo 'INSERT INTO t VALUES (1),(2),(3)' | curl 'http://localhost:8123/' --data-binary @-
|
||||
```
|
||||
|
||||
You can add [Content-Type](https://tools.ietf.org/html/rfc7231#section-3.1.1.5) header using the `-H` flag:
|
||||
|
||||
```bash
|
||||
$ echo 'INSERT INTO t VALUES (1),(2),(3)' | curl 'http://localhost:8123/' --data-binary @- -H 'Content-Type: text/plain;charset=UTF-8'
|
||||
```
|
||||
|
||||
|
||||
Data can be sent separately from the query:
|
||||
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user