class CsrfCookieController

Methods

show(Request $request)

Return an empty response simply to trigger the storage of the CSRF cookie in the browser.

Details

at line 16
JsonResponse|Response show(Request $request)

Return an empty response simply to trigger the storage of the CSRF cookie in the browser.

Parameters

Request $request

Return Value

JsonResponse|Response