aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ws_protocols/rest_handler.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ws_protocols/rest_handler.php b/include/ws_protocols/rest_handler.php
index ece5c0203..d0708f79d 100644
--- a/include/ws_protocols/rest_handler.php
+++ b/include/ws_protocols/rest_handler.php
@@ -41,6 +41,10 @@ class PwgRestRequestHandler
$params[$name]=$value;
}
}
+ if ( empty($method) && isset($_GET['method']) )
+ {
+ $method = $_GET['method'];
+ }
if ( empty($method) )
{