use the csrf token automatically generated by laravel without using the blade

0

I'm developing an App with Cordova and wanted to know if it is possible to use the csrf token generated by Laravel, without having to configure the meta tag using Blade, as it is taught in the laravel site:

<meta name="csrf-token" content="{{ csrf_token() }}">      

Of course it is not possible to use Blade or PHP in Cordova to generate HTML, CSS and Javascript screens only.

    
asked by anonymous 04.12.2017 / 15:36

0 answers