From 08e768941fc4f423abdd4f2d496470bacf04b4ee Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sun, 17 Dec 2023 16:30:13 +0100 Subject: Add API function for similar image search --- test.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test.sh') 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 -- cgit v1.2.3-70-g09d2