Base solution for your next web application
Open Closed

CORS and additional headers #11744


User avatar
0
niengineering created

Dear Support,

from some time Bing Maps are not working with my project. Looks like it's something related to the headers added by ASPNETZERO since it's working with a blank project. I'm receiving the following error:

Access to XMLHttpRequest at 'https://dev.virtualearth.net/REST/v1/Locations?query=countryRegion=Italia&locality=Castello%20Di%20Godego&postalCode=31030&addressLine=Via%20dell%27artigianato%2020&key=Alwbqg7eO63eNXWhPHB5nDPvJmChe5YR4V7CDbpNeoI_6BuZplJwvCXofxOlPXof' from origin 'xxxxxxxxxxx removed from author' has been blocked by CORS policy: Request header field pragma is not allowed by Access-Control-Allow-Headers in preflight response.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @niengineering

    Are you able to see request details (especially headers) both for AspNet Zero and blank project ? If so, could you share these request details ?