File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ getGeolocation(handleResponse, "YOUR_API_KEY");
5151// To use the _Request Origin_ feature at IP Geolocation API, you skip the API key parameter.
5252getGeolocation (handleResponse);
5353
54+ // Toggle API calls' async behavior. By default, async is true.
55+ setAsync (false )
56+
5457// Query geolocation for an IP address e.g., '1.1.1.1'
5558setIPAddressParameter (" 1.1.1.1" );
5659getGeolocation (handleResponse, " YOUR_API_KEY" );
@@ -82,6 +85,9 @@ getTimezone(handleResponse, "YOUR_API_KEY");
8285// To use the _Request Origin_ feature at IP Geolocation API, you skip the API key parameter.
8386getTimezone (handleResponse);
8487
88+ // Toggle API calls' async behavior. By default, async is true.
89+ setAsync (false )
90+
8591// Query time zone information for an IP address e.g., '1.1.1.1'
8692setIPAddressParameter (" 1.1.1.1" );
8793getTimezone (handleResponse, " YOUR_API_KEY" );
You can’t perform that action at this time.
0 commit comments