i am trying to scrap data from Website name Kijiji but it throws a CORS policy Error i tried using Access-Control-Allow-Origin: * but it didn’t work out. Here’s my code
There isn’t a good way around it, for allowing your service to access the data is something the other server needs to support. One solution is to use an intermediate server that bypasses CORS along with taking your actual request and returning the right data.