Setting HTTP referrers for Google's geocoding web service
问题 I have a JS application that is reading a URL which contains a city and state and geocoding those values to obtain a latitude and longitude. I am currently using the Google geocoding web service. This works fine with no restrictions on my API key but since this is client side JS I am trying to set HTTP referrers with website restrictions. When I add my site as an HTTP referrer (https://*.mysite.com/*) the application breaks. https://maps.googleapis.com/maps/api/geocode/json?address=city,