diff options
author | Frederick Muriuki Muriithi | 2024-02-29 16:43:37 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-02-29 16:43:37 +0300 |
commit | 740d6550e55b263bbd182acb2f86ba4be64b9120 (patch) | |
tree | b947a2ec6d70036ceef2dd7c61d18d8391fc7c3e | |
parent | 314a095264f47b8aecfc01d20beca4f35ab9121a (diff) | |
download | gn-auth-740d6550e55b263bbd182acb2f86ba4be64b9120.tar.gz |
Allow POST for JSON requests.
-rw-r--r-- | gn_auth/auth/authorisation/data/views.py | 2 |
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.""" |