Switch output
This commit is contained in:
parent
f8fecbae4f
commit
f25b0127e4
@ -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"]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user