Getting Started with the Net::HTTP - QuotaGuard Static

    Table of contents

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

    For any complex web service interactions we recommend rest-client, but for simple cases net/http will work well.

    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 the right one sent to you.

    Ready to Get Started?

    Get in touch or create a free trial account