Overview

A simple Get request in ruby

require 'net/http'
response = URI('https://unfurl.io/api/v1/api_token=yourapitoken&preview?url=https://www.google.com')
Net::HTTP.get(response)