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?
Sanket,
Have you verified that you are making requests through the proxy. The reason I ask is you normally do not have to worry about CORs when using a proxy. Can you share your code for review?
Sanket,
You use username and password or clientid and appsecret not both.