[Vuejs]-Unable to do Ajax request in Laravel/Vue.Js

0👍

In your Html page from where you are calling this ajax add this

var bankIdAuthenticationRoute = "{{route('bankIdAuthenticationRoute')}}"
var csrf = "{{csrf_token()}}"

And then use both variable in your JS file for that Ajax call.

Leave a comment