[Vuejs]-Call cors protect api from any fronend like postman call all api

2๐Ÿ‘

โœ…

I have tried multiple ways but can not solve it

but find 1 way to do this stuff using cors-anywhere

I have created 1 server using this package and called blocked URL by using it

EX:- as in question call API using Axios with URL

http://localhost:6000/https://postman-echo.com/post

HERE http://localhost:6000 is my cors-anywhere server

and it works for me

NOTE:- you can use https://cors-anywhere.herokuapp.com/ hosted server too(it is the demo of this package)

Leave a comment