HTTP Request status code 403

2 posts / 0 new
Last post
kongjjj
HTTP Request status code 403

Hello

 

I have encountered a cross-domain problem.

Below is the output of the console.

 

Failed to load https://www.mapquestapi.com/search/v3/prediction?limit=5&collection=poi%... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

 


MQBrianCoakley
Make sure the request is
Make sure the request is coming from a server rather than from a file path. The search ahead API doesn't work well with requests from a file path. Some error responses do not have cors friendly headers yet.