Premium support for our pure JavaScript UI components


Post by henrikbackman »

Hi, do you have support or any idea on how to add a CSRF-token (Cross-Site Request Forgery) to lets say a crudManager request?


Post by mats »

Sure, please try:

const crudManager = new CrudManager({
    load: {
        url: 'foo',
        method: 'GET',
        requestConfig: {
            headers: { 'X-Csrf-Token': 'csrftoken' }
        }
    },

Post Reply