|
Download docs/reference/fill.md from AUXteam/pinch: direct link, hf CLI and curl.
- Browser
- Download file 623 Bytes
-
https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/fill.md
- Command line
-
hf download hf://spaces/AUXteam/pinch/docs/reference/fill.md
-
curl -L -o fill.md https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/fill.md
623 Bytes
| # Fill | |
| Set an input value directly without relying on the same event sequence as `type`. | |
| ```bash | |
| curl -X POST http://localhost:9867/action \ | |
| -H "Content-Type: application/json" \ | |
| -d '{"kind":"fill","ref":"e8","text":"ada@example.com"}' | |
| # CLI Alternative | |
| pinchtab fill e8 "ada@example.com" | |
| # Response | |
| { | |
| "success": true, | |
| "result": { | |
| "success": true | |
| } | |
| } | |
| ``` | |
| Notes: | |
| - the top-level CLI also accepts a selector form: `pinchtab fill 'input[name=email]' "ada@example.com"` | |
| - for the raw HTTP action endpoint, selectors use `selector`, not `ref` | |
| ## Related Pages | |
| - [Type](./type.md) | |
| - [Snapshot](./snapshot.md) | |