Support the ongoing development of Laravel.io →
VolvoOlympian

VolvoOlympian

Joined 24 Aug 2014

Statistics

Threads 21
Replies 16
Solutions 0
Articles 0

Middleware return $next($request) with JSON?

In the handle() method of my middleware, I currently have: return $next($request); But I would like...

0 Likes
5 Replies
Solved

Stateless HTTP authentication

I am following the stateless http authentication code stated at http://laravel.com/docs/master/authe...

0 Likes
0 Replies

CSRF token for RESTful Controllers?

I am creating an API with RESTful Controllers, how can I utilize the CSRF token protection provided...

0 Likes
0 Replies

Remembering users under HTTP authentication

I am using the stateless HTTP authentication as described at http://laravel.com/docs/master/authenti...

0 Likes
0 Replies

Use another column instead of 'email' for auth.basic?

I have the following: Route::get('profile', ['middleware' => 'auth.basic', function() { // Only a...

0 Likes
2 Replies
replied 9 years ago

Saving Binary Image

I POST the entire string of the variable data mentioned above. And I am receving it in Laravel with...

0 Likes
replied 10 years ago

Want to get boolean instead of 0/1 after ORM query

I tried that $casts protected array, but the toArray() outcome is the same...

0 Likes
replied 10 years ago

Middleware return $next($request) with JSON?

Thank you sp01010011, but what if I want to return a token to the user after the auth middleware is...

0 Likes
replied 10 years ago

Middleware return $next($request) with JSON?

Basically can I forward some JSON to into $next($request) and then return the whole thing? If it isn...

0 Likes
replied 10 years ago

Use another column instead of 'email' for auth.basic?

Thanks for your help, but I am using a middleware but not AuthController... I cannot use the protect...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.