LWT JavaScript API
    Preparing search index...

    Function getCsrfToken

    • Read the CSRF token from <meta name="csrf-token">. Exported so non-API-client callers (handleRestDelete in texts_grouped_app, etc.) can attach the same X-CSRF-TOKEN header that CsrfMiddleware checks on POST/PUT/DELETE/PATCH.

      Returns string