onst response = await fetch('/test-csrf', {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json',
                        'X-CSRF-Token': currentCsrfToken
                    },
                    credentials: 'include',
                    body: JSON.stringify({
                        _csrf: currentCsrfToken,
                        test: 'data'
                    })
                });

                const data = await response.