Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (4 sloc) 321 Bytes
# To send custom user agents to identify your application to a web service (or mask as a specific browser for testing), send "User-Agent" as a hash to headers as shown below.
require 'httparty'
response = HTTParty.get('', :headers => {"User-Agent" => APPLICATION_NAME})
Jump to Line
Something went wrong with that request. Please try again.