3

I had researched over it but I am unable get my solution. I have separate angularjs ande laravel folders. and I am connecting them through API. I am not using laravel blade temple-ting engine for this.

I have set

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

in my index.html page.

while I console the thing:

console.log($('meta[name="csrf-token"]').attr('content'));

I got as {{ csrf() }}

I followed some of the SO question to solve this issue but I am not getting it. Here is the link: link

I am interested in using this way auth :enter image description here But not getting how? I am new to this, that why facing problem in this.Please Help me for this.

sr9yar
  • 4,850
  • 5
  • 53
  • 59
Mohammed
  • 648
  • 2
  • 12
  • 32

0 Answers0