Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uri = URI.parse('https://newdb.bes-intern.com')
- request = Net::HTTP::Get.new('/app/development?key='+facts['Hostname']+'_'+facts['IP'])
- request['Accept'] = 'text/xml'
- http = Net::HTTP.new(uri.host, uri.port)
- http.use_ssl = true
- response = http.start do |http|
- http.request(request)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement