Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge GET and POST into params

  • Loading branch information...
commit e6645b7b05462b3606136cab22744ce6e3ce3f6f 1 parent 8426132
@wesen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/RestServer.php
View
2  lib/RestServer.php
@@ -197,7 +197,7 @@ public function handle($path, $options = array()) {
if (isset($options["params"])) {
$params = $options["params"];
} else {
- $params = $_GET;
+ $params = array_merge($_GET, $_POST);
}
try {
Please sign in to comment.
Something went wrong with that request. Please try again.