Problem in api key

I’ve used same api key as given in the lecture but in output i’m getting following message, so how to solve this.

b’{\n “error_message” : “Requests to this API must be over SSL. Load the API with \“https://\” instead of \“http://\”.”,\n “results” : [],\n “status” : “REQUEST_DENIED”\n}\n’

You have to generate your own API key.
You can follow this link to generate the key -
https://developers.google.com/maps/documentation/javascript/get-api-key