danimohamadnejad
5 months ago
849
2
Laravel

How Laravel add headers after submiting response?

Posted 5 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.