Getting started with the Net::HTTP - QuotaGuard Static

Net::HTTP is Ruby’s native HTTP library.

For any complex web service interactions we recommend rest-client but for simple cases net/http is fine.

require 'uri'
require 'net/http'


client ='', 80,
             , proxy.port,
                       proxy.user, proxy.password)

response = client.get('/')

p response.body

We have examples for other common libraries as well, but if you can’t find what you are looking for, just send us a Support ticket and we’ll get one sent to you.