Insert parameters in a URL API

Hello, how can I use parameters in an API plugin URL, I’m using the Google Matrix APi, and I need the time away, Google gives me a link in which I get the result JSON, but in the league I need to enter the address origin and destination, but I don’t know how to put this data as parameters to execute it by means of an input

the URL that google gives me is this

https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&origins=Washington,DC&destinations=New+York+City,NY&key=API-KEY

and where are the origin and destination I want to put some input so that I return different data as I put them

Like it said after the url, use []
like … /json?units=[units]&…

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.