diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-12-02 09:07:33 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-12-02 14:11:49 +0100 |
commit | 8d914564c852346236fbad13819fdfde6920bb37 (patch) | |
tree | 91de564a7a88e37491e42f24d222c63333a4fdb0 | |
parent | a043fca7f8a4e7b60dd2e5d1ec2a70ccd55b9d0d (diff) |
#1010 Adapt ogServer to send GET /software
ogClient changed /software from POST to GET.
Adapt ogServer to work with ogClient /software new method.
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |