Skip to content

Instantly share code, notes, and snippets.

@Zaidos
Created November 18, 2012 00:03
Show Gist options
  • Save Zaidos/4101727 to your computer and use it in GitHub Desktop.
Save Zaidos/4101727 to your computer and use it in GitHub Desktop.
ruby request
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