summaryrefslogtreecommitdiff
path: root/includes/js/dojox/rpc/tests/resources/echoJson.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojox/rpc/tests/resources/echoJson.php')
-rw-r--r--includes/js/dojox/rpc/tests/resources/echoJson.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/js/dojox/rpc/tests/resources/echoJson.php b/includes/js/dojox/rpc/tests/resources/echoJson.php
new file mode 100644
index 0000000..52b5d03
--- /dev/null
+++ b/includes/js/dojox/rpc/tests/resources/echoJson.php
@@ -0,0 +1,8 @@
+<?php
+ if (!$_REQUEST["message"]){
+ print "ERROR: message property not found";
+ }else{
+ header("Content-Type: application/json");
+ print $_REQUEST["message"];
+ }
+?>