Webix Uploader: How to add session CSRF token on the Uploader Send Post Method as Ajar Header?

I recently purchased Webix Usermanager and I am having problem changing or uploading users photo because the uploader send post method is being prevented by the Laravel framework. How would I add session CSRF token to the uploader send post method as ajax request header.

Here is an example of uploader send method.
$$("upl1").send(function(response){
if(response)
webix.message(response.status);
});
//response contains server-side response

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion