Most User endpoints

This commit is contained in:
2024-07-21 20:22:39 +02:00
parent b3c5841e36
commit 4b89a7e9ca
11 changed files with 102 additions and 28 deletions
+5
View File
@@ -4,6 +4,11 @@ namespace Khofmann\Input;
class Input
{
public static function header($name, $defaultValue = null, $tryParse = true)
{
return request()->getHeader($name, $defaultValue, $tryParse);
}
public static function post($index, $defaultValue = null)
{
return request()->getInputHandler()->post($index, $defaultValue);