header("HTTP/1.0 400 Bad Request");
header("Content-Type: application/json");
-echo '{ "code": 40, "message": "Bad Request" }';
-
-?>
\ No newline at end of file
+echo '{ "code": 40, "message": "Bad Request" }';
\ No newline at end of file
header("HTTP/1.0 400 Bad Request");
-echo "plain text message";
-
-?>
\ No newline at end of file
+echo "plain text message";
\ No newline at end of file
foreach( explode( "_" , $_GET[ "keys" ] ) as $key ) {
echo "$key: " . @$headers[ strtoupper( $key ) ] . "\n";
}
-
-?>
\ No newline at end of file