aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-12-17 16:30:13 +0100
committerPřemysl Eric Janouch <p@janouch.name>2023-12-17 16:30:13 +0100
commit08e768941fc4f423abdd4f2d496470bacf04b4ee (patch)
tree67fdadac449c65c3b094e8c2aa70edf873c8324f /test.sh
parente0a4d113dadcb1524cd0f9fd818f6d873e75eb5f (diff)
downloadgallery-08e768941fc4f423abdd4f2d496470bacf04b4ee.tar.gz
gallery-08e768941fc4f423abdd4f2d496470bacf04b4ee.tar.xz
gallery-08e768941fc4f423abdd4f2d496470bacf04b4ee.zip
Add API function for similar image search
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index 920bae9..c51841a 100755
--- a/test.sh
+++ b/test.sh
@@ -20,6 +20,8 @@ echo '{"path":"/tmp/Gi"}' | \
curl http://localhost:8080/api/browse -X POST --data-binary @-
echo '{"sha1":"d53fc82162fd19a6e7b92b401b08b7505dbf3dfd"}' | \
curl http://localhost:8080/api/info -X POST --data-binary @-
+echo '{"sha1":"9539d9895ab8c25d76c321b23b8a327801a496bb"}' | \
+curl http://localhost:8080/api/similar -X POST --data-binary @-
kill $web
wait $web