How to give referrer url for localhost in google map api?

前端 未结 4 984
太阳男子
太阳男子 2021-02-07 00:14

I am using google map geocode api for getting city,country,and state from zip code. I have restricted the API key to only respond to requests from allowed URLs.

It works

4条回答
  •  半阙折子戏
    2021-02-07 00:42

    localhost:52200/* worked for me in July 2019. Didn't need explicit protocol like http or https.

提交回复
热议问题