Remove old files
This commit is contained in:
parent
4dba068f3d
commit
5ef74f8b89
|
|
@ -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/" },
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
<?php
|
||||
|
||||
print file_get_contents("php://input");
|
||||
exit;
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<?php
|
||||
|
||||
print(json_encode($_POST));
|
||||
exit;
|
||||
|
||||
|
|
@ -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);
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
<?php
|
||||
|
||||
print $_SERVER["REQUEST_METHOD"];
|
||||
exit;
|
||||
Loading…
Reference in New Issue