mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-05-20 17:52:33 +02:00
a147e8b972
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
22 lines
683 B
Markdown
22 lines
683 B
Markdown
## History Search
|
|
|
|
The History page has a built-in search bar with two modes:
|
|
|
|
**Fulltext search**: press `/` to open it. Results filter in real time as you type across all fields: method, host, path, and the raw request/response bodies.
|
|
|
|
**SQL mode**: press `:` to open it, then `Enter` to run. Type a WHERE expression: the full `SELECT … FROM entries WHERE` is added automatically.
|
|
|
|
```sql
|
|
status_code = 404
|
|
```
|
|
|
|
```sql
|
|
host LIKE '%.api.%' AND method = 'POST'
|
|
```
|
|
|
|
```sql
|
|
response_raw LIKE '%password%' ORDER BY timestamp DESC LIMIT 20
|
|
```
|
|
|
|
The `entries` table has the following columns: `id`, `timestamp`, `method`, `host`, `path`, `status_code`, `request_raw`, `response_raw`.
|