Skip to content

Commit f529fdc

Browse files
authored
Update README.md
1 parent a947302 commit f529fdc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ Running tests:
2222

2323
Create index:
2424

25-
curl -XPUT -v http://localhost:8080/1/_update
25+
curl -XPUT -v http://localhost:8080/indexname
2626

2727
Add a fingerprint:
2828

29-
curl -XPOST -d '{"changes": [{"insert": {"id": 1, "hashes": [1,2,3]}}]}' -v http://localhost:8080/1/_update
29+
curl -XPOST -d '{"changes": [{"insert": {"id": 1, "hashes": [1,2,3]}}]}' -v http://localhost:8080/indexname/_update
3030

3131
Delete a fingerprint:
3232

33-
curl -XPOST -d '{"changes": [{"delete": {"id": 2}}]}' -v http://localhost:8080/1/_update
33+
curl -XPOST -d '{"changes": [{"delete": {"id": 2}}]}' -v http://localhost:8080/indexname/_update
3434

3535
Search for a fingerprint:
3636

37-
curl -XPOST -d '{"query": [1,2,3], "timeout": 10}' -v http://localhost:8080/_search
37+
curl -XPOST -d '{"query": [1,2,3], "timeout": 10}' -v http://localhost:8080/indexname/_search

0 commit comments

Comments
 (0)