Custom DashRenderer - change header in request_pre

Is it possible to access cookie and modify the request header with the custom hook in DashRenderer? E.g. is the request object available/changeable in the javascript context?

var renderer = new DashRenderer({
    request_pre: (payload) => {
        // access x-xsrf-token here: “x-xsrf-token” = cookie.parse(document.cookie).[‘XSRF-TOKEN’],
        // assign to request
    },
    request_post: (payload, response) => {
        // print out payload and response parameter
        console.log(payload);
        console.log(response);
    }
})

Hi community!

We are engaging commercially with Matthias to find a solution to this issue. We’ll keep the community posted :slight_smile:

Is there an update for this topic? I have the same need as the OP.