Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Dec 4, 2024
1 parent 4b6c65c commit df36f8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ LOAD httpserver;
Start the HTTP server providing the `host`, `port` and `auth` parameters.<br>
> * If you want no authentication, just pass an empty string as parameter.<br>
> * If you want the API run in foreground set `DUCKDB_HTTPSERVER_FOREGROUND=1`
> * If you want logs set `DUCKDB_HTTPSERVER_DEBUG` or `DUCKDB_HTTPSERVER_SYSLOG`
#### Basic Auth
```sql
Expand Down Expand Up @@ -90,7 +91,7 @@ D SELECT * FROM duck_flock('SELECT version()', ['http://localhost:9999']);
"version"() │
varchar
├─────────────┤
v1.1.1
v1.1.3
└─────────────┘
```

Expand Down Expand Up @@ -122,7 +123,7 @@ curl -X POST -d "SELECT 'hello', version()" "http://localhost:9999/?default_form
"data": [
[
"hello",
"v1.1.1"
"v1.1.3"
]
],
"rows": 1,
Expand Down Expand Up @@ -153,7 +154,7 @@ D SELECT * FROM read_json_auto('http://localhost:9999/?q=SELECT version()');
"version"() │
│ varchar │
├─────────────┤
│ v1.1.1
│ v1.1.3
└─────────────┘
```
Expand Down

0 comments on commit df36f8f

Please sign in to comment.