[Vuejs]-CORS when using axios but works normal using curl

0๐Ÿ‘

โœ…

In the end, I create an API that fetches data from outside API. Since it works in simple curl, I use that curl in Axios and working. Itโ€™s not efficient but itโ€™s working ๐Ÿ™‚

-3๐Ÿ‘

In your laravel press ctrl+p then write Verifycsrftoken and inside
protected $except = [ โ€˜stripe/โ€˜, enter code hereโ€˜http://example.com/foo/โ€˜, //any route ];

Leave a comment