mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 20:42:54 +00:00
chore: improve markdown formatting (#8825)
fixes:  fixes: 
This commit is contained in:
committed by
GitHub
parent
06795c6b9a
commit
cdfdcd3e5d
@@ -36,7 +36,7 @@ To play with it locally one may start proxy over a local postgres installation
|
||||
```
|
||||
|
||||
If both postgres and proxy are running you may send a SQL query:
|
||||
```json
|
||||
```console
|
||||
curl -k -X POST 'https://proxy.localtest.me:4444/sql' \
|
||||
-H 'Neon-Connection-String: postgres://stas:pass@proxy.localtest.me:4444/postgres' \
|
||||
-H 'Content-Type: application/json' \
|
||||
@@ -44,7 +44,8 @@ curl -k -X POST 'https://proxy.localtest.me:4444/sql' \
|
||||
"query":"SELECT $1::int[] as arr, $2::jsonb as obj, 42 as num",
|
||||
"params":[ "{{1,2},{\"3\",4}}", {"key":"val", "ikey":4242}]
|
||||
}' | jq
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"command": "SELECT",
|
||||
"fields": [
|
||||
|
||||
Reference in New Issue
Block a user