diff options
author | Alexander_Kabui | 2024-08-29 09:51:38 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-08-29 09:51:38 +0300 |
commit | 231cbd69ed5292451b976091e117d819e5466b30 (patch) | |
tree | 62f6c190bce93936d16ad6fdb9e00f5f6987ea95 /gn3/api | |
parent | 7d79812db623d12474422a9613c81f35e25aef55 (diff) | |
download | genenetwork3-231cbd69ed5292451b976091e117d819e5466b30.tar.gz |
Update gnqa search endpoint from POST to PUT.
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/llm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py index 228d3fa..d56a3d2 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -15,7 +15,7 @@ from gn3.auth import db gnqa = Blueprint("gnqa", __name__) -@gnqa.route("/search", methods=["POST"]) +@gnqa.route("/search", methods=["PUT"]) def search(): """Api endpoint for searching queries in fahamu Api""" query = request.json.get("querygnqa", "") |