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

前端 未结 4 923
太阳男子
太阳男子 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:38

    I had that problem today, just typed "localhost" on the credentials part and it worked.

提交回复
热议问题