Created
November 18, 2012 00:03
-
-
Save Zaidos/4101727 to your computer and use it in GitHub Desktop.
ruby request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'uri' | |
uri = URI.parse('http://hidemyaccess.info/includes/process/php?action=update') | |
response = Net::HTTP.post_form(uri, {'u' => 'http://www.google.com'}) | |
puts response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment