Support the ongoing development of Laravel.io →
posted 7 years ago
Laravel

How can I change the message thrown by

ThrottleRequests middleware

and instead of showing an html page just returning a json message with written '429 Too many requests'.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

FELPONE felpone Joined 2 Jun 2017

Moderators

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.

© 2025 Laravel.io - All rights reserved.