diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-12-17 16:30:13 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-12-17 16:30:13 +0100 |
commit | 08e768941fc4f423abdd4f2d496470bacf04b4ee (patch) | |
tree | 67fdadac449c65c3b094e8c2aa70edf873c8324f /test.sh | |
parent | e0a4d113dadcb1524cd0f9fd818f6d873e75eb5f (diff) | |
download | gallery-08e768941fc4f423abdd4f2d496470bacf04b4ee.tar.gz gallery-08e768941fc4f423abdd4f2d496470bacf04b4ee.tar.xz gallery-08e768941fc4f423abdd4f2d496470bacf04b4ee.zip |
Add API function for similar image search
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |