Skip to content

Instantly share code, notes, and snippets.

@rinaldifonseca
Created December 5, 2011 19:20
Show Gist options
  • Save rinaldifonseca/1434870 to your computer and use it in GitHub Desktop.
Save rinaldifonseca/1434870 to your computer and use it in GitHub Desktop.
require 'net/http'
require 'uri'
postData = Net::HTTP.post_form(URI.parse('http://rinaldifonseca.com'), {'param'=>'postValue'})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment