You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I want to say that I'm new to APIGuard, so maybe I'm doing something obviously wrong that I can't see.
I've installed the latest version of APIGuard, had to manually add some facades and lines to the middleware though. After getting it to not throw an error w/ Laravel, I finally found myself faced with this erro. It appears to be related to the middleware, since, no matter where I go on the website, this error appears, instead of the actual page.
{"error":{"code":"GEN-METHOD-NOT-ALLOWED","http_code":405,"message":"Method Not Allowed"}}
Does anybody have a clue on how to solve this?
The text was updated successfully, but these errors were encountered:
Nevermind, just had to switch 'apiguard' => Chrisbjr\ApiGuard\Http\Middleware\ApiGuard::class,
to 'apiguard' => \Chrisbjr\ApiGuard\Http\Middleware\ApiGuard::class,
First of all, I want to say that I'm new to APIGuard, so maybe I'm doing something obviously wrong that I can't see.
I've installed the latest version of APIGuard, had to manually add some facades and lines to the middleware though. After getting it to not throw an error w/ Laravel, I finally found myself faced with this erro. It appears to be related to the middleware, since, no matter where I go on the website, this error appears, instead of the actual page.
{"error":{"code":"GEN-METHOD-NOT-ALLOWED","http_code":405,"message":"Method Not Allowed"}}
Does anybody have a clue on how to solve this?
The text was updated successfully, but these errors were encountered: