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-Methods: *")
->header("Access-Control-Allow-Headers: *"); ->header("Access-Control-Allow-Headers: *");
echo "HI"; echo "HI";
print_r(Input::file("image"));
echo "\n";
print_r(Input::patch("predefined")); print_r(Input::patch("predefined"));
echo "\n";
print_r(Input::file("image"));
}); //[Api\Users\Users::class, "patchImageSelf"]); }); //[Api\Users\Users::class, "patchImageSelf"]);
// Update post // Update post
SimpleRouter::patch("/posts/{id}", [Api\Posts\Posts::class, "patch"]); SimpleRouter::patch("/posts/{id}", [Api\Posts\Posts::class, "patch"]);