From d0942c88c8968b7e410356b1ae89ec7d3e69f2bb Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Tue, 16 Apr 2019 12:11:31 +0300 Subject: [PATCH] * client: replace PUT and DELETE with POST --- client/src/api/Api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/api/Api.js b/client/src/api/Api.js index e16a419e..a0ca7ed2 100644 --- a/client/src/api/Api.js +++ b/client/src/api/Api.js @@ -149,9 +149,9 @@ export default class Api { FILTERING_STATUS = { path: 'filtering/status', method: 'GET' }; FILTERING_ENABLE = { path: 'filtering/enable', method: 'POST' }; FILTERING_DISABLE = { path: 'filtering/disable', method: 'POST' }; - FILTERING_ADD_FILTER = { path: 'filtering/add_url', method: 'PUT' }; - FILTERING_REMOVE_FILTER = { path: 'filtering/remove_url', method: 'DELETE' }; - FILTERING_SET_RULES = { path: 'filtering/set_rules', method: 'PUT' }; + FILTERING_ADD_FILTER = { path: 'filtering/add_url', method: 'POST' }; + FILTERING_REMOVE_FILTER = { path: 'filtering/remove_url', method: 'POST' }; + FILTERING_SET_RULES = { path: 'filtering/set_rules', method: 'POST' }; FILTERING_ENABLE_FILTER = { path: 'filtering/enable_url', method: 'POST' }; FILTERING_DISABLE_FILTER = { path: 'filtering/disable_url', method: 'POST' }; FILTERING_REFRESH = { path: 'filtering/refresh', method: 'POST' };