Merge 429eb316d0 into e7bc232eb1
This commit is contained in:
commit
fe73662e03
@ -1,7 +1,7 @@
|
|||||||
require 'net/http'
|
require 'net/http'
|
||||||
|
|
||||||
def request_route a,b
|
def request_route a,b
|
||||||
@query = "http://localhost:5000/viaroute&start=#{a}&dest=#{b}&output=json&geomformat=cmp"
|
@query = "http://localhost:5000/viaroute?start=#{a}&dest=#{b}&output=json&geomformat=cmp"
|
||||||
#log @query
|
#log @query
|
||||||
uri = URI.parse @query
|
uri = URI.parse @query
|
||||||
Net::HTTP.get_response uri
|
Net::HTTP.get_response uri
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user