I'm using the sample code for Routing task to check before I buy. I have set up the proxy server and I'm giving some hardcoded latitude - longitude pairs in the code instead of clicking on the map.
I am able to see the routes for 11 points successfully but if i input more than 11 points, I am facing the following errors:
Response for preflight has invalid HTTP status code 403
Reason: CORS header 'Access-Control-Allow-Origin' missing
And How do I use CORS in the code?