Remove old files

This commit is contained in:
PJ Dietz 2015-04-12 18:40:25 -04:00
parent 4dba068f3d
commit 5ef74f8b89
5 changed files with 1 additions and 26 deletions

View File

@ -16,9 +16,7 @@
"psr/http-message": "dev-master"
},
"require-dev": {
"fzaninotto/faker": "1.5.*@dev",
"phpunit/phpunit": "~4.5",
"pjdietz/shamserver": "dev-master"
"phpunit/phpunit": "~4.5"
},
"autoload": {
"psr-4": { "WellRESTed\\" : "src/" },

View File

@ -1,4 +0,0 @@
<?php
print file_get_contents("php://input");
exit;

View File

@ -1,5 +0,0 @@
<?php
print(json_encode($_POST));
exit;

View File

@ -1,10 +0,0 @@
<?php
// http://www.php.net/manual/en/function.getallheaders.php#84262
$headers = [];
foreach ($_SERVER as $name => $value) {
if (substr($name, 0, 5) === 'HTTP_') {
$headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value;
}
}
print json_encode($headers);

View File

@ -1,4 +0,0 @@
<?php
print $_SERVER["REQUEST_METHOD"];
exit;