From a4b31cb02f6cf1b5f494ef39177165bb54fc3fe4 Mon Sep 17 00:00:00 2001 From: BossZou <40255591+BossZou@users.noreply.github.com> Date: Tue, 7 Apr 2020 18:56:19 +0800 Subject: [PATCH] [skip ci] Fix incorrect information in http readme (fix #1812) (#1878) Signed-off-by: Yhz --- CHANGELOG.md | 1 + core/src/server/web_impl/README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 437d690d1c..4e727bb791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ Please mark all change in change log and use the issue from GitHub - \#1747 Expected error status if search with partition_tag not existed - \#1756 Fix memory exhausted during searching - \#1781 Fix search hang with SQ8H +- \#1812 Fix incorrect request method in search example in http readme - \#1818 Duplicate data generated after restart milvus server ## Feature diff --git a/core/src/server/web_impl/README.md b/core/src/server/web_impl/README.md index 04eaaa12a9..faf99e33c2 100644 --- a/core/src/server/web_impl/README.md +++ b/core/src/server/web_impl/README.md @@ -1314,7 +1314,7 @@ Obtain a vector to by ID. ##### Request ```shell -$ curl -X POST "http://127.0.0.1:19121/collections/test_collection/vectors?id=1578989029645098000" -H "accept: application/json" -H "Content-Type: application/json" +$ curl -X GET "http://127.0.0.1:19121/collections/test_collection/vectors?id=1578989029645098000" -H "accept: application/json" -H "Content-Type: application/json" ``` ##### Response