Skip to content

Instantly share code, notes, and snippets.

@penso
Created September 11, 2009 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penso/184947 to your computer and use it in GitHub Desktop.
Save penso/184947 to your computer and use it in GitHub Desktop.
clnt = HTTPClient.new
clnt.debug_dev=STDOUT
clnt.cookie_manager = nil
clnt.set_auth("http://superfeedr.com/", APP_CONFIG['superfeedr_login'], APP_CONFIG['superfeedr_password'])
clnt.post_content("http://superfeedr.com/hubbub", query) do |chunk|
puts chunk
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment