aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/data
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-29 16:43:37 +0300
committerFrederick Muriuki Muriithi2024-02-29 16:43:37 +0300
commit740d6550e55b263bbd182acb2f86ba4be64b9120 (patch)
treeb947a2ec6d70036ceef2dd7c61d18d8391fc7c3e /gn_auth/auth/authorisation/data
parent314a095264f47b8aecfc01d20beca4f35ab9121a (diff)
downloadgn-auth-740d6550e55b263bbd182acb2f86ba4be64b9120.tar.gz
Allow POST for JSON requests.
Diffstat (limited to 'gn_auth/auth/authorisation/data')
-rw-r--r--gn_auth/auth/authorisation/data/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/data/views.py b/gn_auth/auth/authorisation/data/views.py
index a674ab4..6f52d15 100644
--- a/gn_auth/auth/authorisation/data/views.py
+++ b/gn_auth/auth/authorisation/data/views.py
@@ -235,7 +235,7 @@ def __search_phenotypes__():
"command": command
})
-@data.route("/search", methods=["GET"])
+@data.route("/search", methods=["GET", "POST"])
@require_oauth("profile group resource")
def search_unlinked_data():
"""Search for various unlinked data."""