Код: Выделить всё
You don't have permission to access /api/sctest/inbound on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Код: Выделить всё
Route::group([
'prefix' => 'inbnd',
'middleware' => ['xxxxxx.webhook'],
],function () {
Route::post('inbound', 'myController@store');
});
Я попробовал удалить $this->registerPolicies() из AuthServiceProvider. Я отключил обратный маршрут («вход») из приложения/Http/Middleware/Authericate. и удалил AuthorizesRequests из основного контроллера.
Подробнее здесь: https://stackoverflow.com/questions/790 ... pi-webhook