You should use
$response->headers->set('Content-Type' , 'text');
$response->headers->set('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community