mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
12 lines
191 B
Ruby
12 lines
191 B
Ruby
require 'rest'
|
|
|
|
rest = Rest::Client.new
|
|
rest.logger.level = Logger::DEBUG
|
|
response = rest.get(
|
|
#"http://localhost:8080/"
|
|
"http://routertest.irondns.info/"
|
|
)
|
|
|
|
puts "body:"
|
|
puts response.body
|