Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The format of the URL is as follows:

     https://maps.googleapis.com/maps/api/geocode/json?address={address}&key={key}

Below is the code example:

     Define_Com Class(#XPRIM_UriBuilder) Name(#Url)
#Url.SetScheme( 'https' )
#Url.SetHost( 'maps.googleapis.com' )
#Url.SetPath( '/maps/api/geocode/json' )
#Url.AddQueryString( 'address' #Address )
#Url.AddQueryString( 'key' #ApiKey )

Next: Adding Request Headers