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