On April 1, 2021, we are moving all of our QuotaGuard Support Documentation to
Please Update Your Support Bookmarks
Documentation for this article will be maintained at
Please click on the above link to ensure you are reading
the most recent and updated documentation.
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' proxy = URI(ENV['QUOTAGUARDSTATIC_URL']) client = Net::HTTP.new('ip.jsontest.com', 80, proxy.host, 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.