From 740d6550e55b263bbd182acb2f86ba4be64b9120 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 29 Feb 2024 16:43:37 +0300 Subject: Allow POST for JSON requests. --- gn_auth/auth/authorisation/data/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/auth/authorisation') 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.""" -- cgit v1.2.3