Share via

Bing Maps Isochrone Request Returns Callback URL Using HTTP Protocol (Not HTTPS)

Anonymous
2024-07-26T14:17:29+00:00

Hi,

When making, for example, the following isochrone request using the HTTPS protocol:

https://dev.virtualearth.net/REST/v1/Routes/IsochronesAsync?waypoint=47.101077,-119.247147&maxDistance=10&distanceUnit=mi&optimize=distance&travelMode=driving&key=MyKey...

The returned callbackUrl uses the HTTP protocol:

http://dev.virtualearth.net/REST/v1/Routes/IsochronesAsyncCallback?key=MyKey...

Which the browser (Microsoft Edge) rejects with the following error:

Mixed Content: The page at 'https://dev.my-site.com/mapping' was loaded over HTTPS, but requested an insecure resource 'http://dev.virtualearth.net/REST/v1/Routes/IsochronesAsyncCallback?key=MyKey...'. This request has been blocked; the content must be served over HTTPS.

Am I doing something wrong in my request, or should the callbackUrl be using a matching protocol to the original request?

Thanks,

Ken

Bing | Other
Bing | Other

Miscellaneous topics that do not fit into specific categories.

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Sumit D - IA 170.7K Reputation points Independent Advisor
    2024-07-26T16:52:01+00:00

    Hi Ken,

    I'm Sumit, here to answer your query at the Microsoft Community.

    Better to raise a ticket at Bing support using the appropriate channel.

    In the meantime, you can add values in the following flag:

    edge://flags/#unsafely-treat-insecure-origin-as-secure

    You can add the following URL as it is HTTP.

    http://dev.virtualearth.net/

    Do note that it is a temporary measure not a full-proof solutions. Maps API support would have a better answer for you.

    Hope that helps, and rely on us for any further inquiries. All the best.

    Was this answer helpful?

    0 comments No comments