Switch output

This commit is contained in:
Kilian Hofmann 2024-07-27 19:09:07 +02:00
parent f8fecbae4f
commit f25b0127e4

View File

@ -64,9 +64,9 @@ SimpleRouter::group(["middleware" => Khofmann\Auth\Auth::class], function () {
->header("Access-Control-Allow-Methods: *")
->header("Access-Control-Allow-Headers: *");
echo "HI";
print_r(Input::file("image"));
echo "\n";
print_r(Input::patch("predefined"));
echo "\n";
print_r(Input::file("image"));
}); //[Api\Users\Users::class, "patchImageSelf"]);
// Update post
SimpleRouter::patch("/posts/{id}", [Api\Posts\Posts::class, "patch"]);