FredG

Google Maps API

Discussion created by FredG on Sep 20, 2018
Latest reply on Sep 27, 2018 by beverly

Using Filemaker Pro 16.  Had a developer create a Filemaker script that passes a zip code to google maps through the API and returns the lat and long coordinates so that we can calculate local time from the time zone.  This has stopped working.  In my debugging it now looks like I get the error:  'Requests to this API must be over SSL. Load the API with https:// instead of http://'  My script does use https:

 

UCGetWebPageAsText( "https://maps.googleapis.com/maps/api/geocode/xml?address="  & GetAsURLEncoded( events::location_address_zip ) & "&key=MY KEY"  ;  "GET" ; "" ; "" )

 

Is there another way this should be done?

Outcomes