Axios and Laravel

In this post we will see how to use Axios and Laravel. By default, Laravel comes with Axios and Bootstrap.

In this case, the default case you have not to do anything you can use post with Axios cause Laravel come with code that obtain the csrf-token for you and add it to header that will be passed.

Another case is when you will not to use the default code used by Laravel and complete erase bootstrap, in this case you will need to obtain the csrf-token.

read more