main.rb
## 
# Makes a HTTP GET request to the given URI.
# The response body is returned as JSON.
Makes a HTTP GET request to the given URI.
The response body is returned as JSON.
Makes a HTTP GET request to the given URI . The response body is returned as JSON .
def forwardRequest(_url)
  uri = URI(_url)
  response = Net::HTTP.get_response(uri)
  result = JSON.parse(response.body)
  return result.to_json
end
def forwardRequest ( _url ) uri = URI ( _url ) response = Net :: HTTP . get_response ( uri ) result = JSON . parse ( response . body ) return result . to_json end
Makes a HTTP GET request to the given URI.
Makes a HTTP GET request to the given URI .
_url
<not_specific>