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
I had that problem today, just typed "localhost" on the credentials part and it worked.