1) Give a description of the problem
I am trying to perform a GET request to googles API
2) What is the expected behavior?
a 200, with the data returned accessible through pistons
3) What is happening/not happening?
I am receiving an error stating that the endpoint is blocked.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
11/12/2017, 1:20:23 AM +153ms
+0ms ╔Received event [Home].test = 1510449623149 with a delay of 4ms
+121ms ║RunTime Analysis CS > 14ms > PS > 87ms > PE > 20ms > CE
+128ms ║Runtime (38503 bytes) successfully initialized in 87ms (v0.2.0fd.20171105) (127ms)
+129ms ║╔Execution stage started
+134ms ║║Cancelling statement #1’s schedules…
+140ms ║║Sending external web request to: maps.googleapis.com/maps/api/distancematrix/json?origins=75+9th+Ave+New+York,+NY&destinations=Bridgewater+Commons,+Commons+Way,+Bridgewater,+NJ|The+Mall+At+Short+Hills,+Morris+Turnpike,+Short+Hills,+NJ|Monmouth+Mall,+Eatontown,+NJ|Westfield+Garden+State+Plaza,+Garden+State+Plaza+Boulevard,+Paramus,+NJ|Newport+Centre+Mall,+Jersey+City,+NJ&departure_time=1541202457&traffic_model=best_guess&key=Removedforprivacy
+143ms ║║Error executing external web request: java.lang.SecurityException: Endpoint https://maps.googleapis.com/maps/api/distancematrix/json?origins=75+9th+Ave+New+York,+NY&destinations=Bridgewater+Commons,+Commons+Way,+Bridgewater,+NJ|The+Mall+At+Short+Hills,+Morris+Turnpike,+Short+Hills,+NJ|Monmouth+Mall,+Eatontown,+NJ|Westfield+Garden+State+Plaza,+Garden+State+Plaza+Boulevard,+Paramus,+NJ|Newport+Centre+Mall,+Jersey+City,+NJ&departure_time=1541202457&traffic_model=best_guess&key=Removedforprivacy is blacklisted.
+147ms ║║Executed virtual command httpRequest (7ms)
+149ms ║╚Execution stage complete. (20ms)
+155ms ╚Event processed successfully (155ms)
the Request returns JSON when posted through a web browser.