summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-09-03 16:30:35 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-09-03 16:30:35 +0900
commit0f50dc848e58b47408713c2c31f2be73287c030a (patch)
tree6bf96117303bbde31fc71092302e185bdfb37429 /man
parentc5e4b83de3a201e496f356e826529a45165138ea (diff)
Add 'GET /' endpoint for getting the program state (experimental)
Related #3372
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.13
1 files changed, 3 insertions, 0 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index e9de4fe1..4388c97b 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -795,6 +795,9 @@ e.g.
\fB# Start HTTP server on port 6266
fzf --listen 6266
+ # Get program state in JSON format (experimental)
+ curl localhost:6266
+
# Send action to the server
curl -XPOST localhost:6266 -d 'reload(seq 100)+change-prompt(hundred> )'