['throttle:300,1', 'api_db', 'token_auth', 'locale'], 'prefix' => 'api/v1', 'as' => 'api.'], function () { Route::post('preview', [PreviewController::class, 'show'])->name('preview.show'); Route::post('live_preview', [PreviewController::class, 'live'])->name('preview.live'); Route::post('preview/purchase_order', [PreviewPurchaseOrderController::class, 'show'])->name('preview_purchase_order.show'); Route::post('live_preview/purchase_order', [PreviewPurchaseOrderController::class, 'live'])->name('preview_purchase_order.live'); }); Route::fallback([BaseController::class, 'notFound'])->middleware('throttle:404');