danimohamadnejad
3 months ago
625
2
Laravel

How Laravel add headers after submiting response?

Posted 3 months ago by danimohamadnejad

How Laravel add headers after submitting response: return response($content) ->header('Content-Type', $type) ->header('X-Header-One', 'Header Value') ->header('X-Header-Two', 'Header Value');

Please sign in or create an account to participate in this conversation.