Permalink
Browse files

Merge GET and POST into params

  • Loading branch information...
wesen committed Mar 8, 2012
1 parent 8426132 commit e6645b7b05462b3606136cab22744ce6e3ce3f6f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/RestServer.php
View
@@ -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 {

0 comments on commit e6645b7

Please sign in to comment.