DriveWorks Pro 15: SppHTTPGetRequest [send feedback...]


Make HTTP GET requests by passing in a URL.


SppHTTPGetRequest([URL String],[Timeout])


URL String is a string of text representing a HTTP request. Add any parameters to this string including API keys.

Timeout is the timeout value in seconds. If no response is received within this time the call will close.


SppHttpGetRequest("",10)Will return data from the specified URL.
SppHttpGetRequest("",10) Will return data from the specified URL, which will contain the distance between the two specified locations.
SppHttpGetRequest(""FromReturn"&&destinations=&"ToReturn"&&units=imperial",10) As above but the name of the locations are coming from Form Control values.
For more information on the parameters that can be passed into Google Maps, please see The Google Maps Distance Matrix API.

Table of Contents