From 8d914564c852346236fbad13819fdfde6920bb37 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Wed, 2 Dec 2020 09:07:33 +0100 Subject: #1010 Adapt ogServer to send GET /software ogClient changed /software from POST to GET. Adapt ogServer to work with ogClient /software new method. --- src/rest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest.c b/src/rest.c index 196a25d..b208f50 100644 --- a/src/rest.c +++ b/src/rest.c @@ -1666,7 +1666,7 @@ static int og_cmd_software(json_t *element, struct og_msg_params *params) clients = json_copy(element); json_object_del(clients, "clients"); - return og_send_request(OG_METHOD_POST, OG_CMD_SOFTWARE, params, clients); + return og_send_request(OG_METHOD_GET, OG_CMD_SOFTWARE, params, clients); } static int og_cmd_get_software(json_t *element, struct og_msg_params *params, -- cgit v1.2.3-18-g5258