Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Working With Inertia POST/PUT/DELETE Requests #1715

Open
IsaacHatilima opened this issue Jan 7, 2025 · 0 comments
Open

Not Working With Inertia POST/PUT/DELETE Requests #1715

IsaacHatilima opened this issue Jan 7, 2025 · 0 comments

Comments

@IsaacHatilima
Copy link

I have a RILT application, on GET request I can see the log in the browser bar but any non GET request nothing happens even though capture_ajax is set to true.

    public function edit(Request $request): Response
    {
        debug('Works');
        return Inertia::render('Profile/Edit', [
            'mustVerifyEmail' => $request->user() instanceof MustVerifyEmail,
            'status' => session('status'),
        ]);
    }

    /**
     * Update the user's profile information.
     */
    public function update(ProfileUpdateRequest $request)
    {
        debug('Does Not Works');
        
        $this->profileManagerAction->update_profile($request);

        return Redirect::route('profile.edit');
    }
"barryvdh/laravel-debugbar": "^3.14"
"laravel/framework": "^11.31"
"inertiajs/inertia-laravel": "^2.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant