Top "Net-http" questions

An HTTP client API for Ruby.

400 bad request in ruby but not curl

I'm trying to make a https post request in ruby and it works in curl, but I get a 400 bad …

ruby curl net-http ruby-1.8.7
Making HEAD request in Ruby

I am kind of new to ruby and from a python background I want to make a head request to …

ruby net-http
TypeError: can't convert Net::HTTPOK into String

I'm using net/http and json to geocode an address using google's Geocoding API. Here is where the error is …

ruby json net-http google-geocoding-api
Ruby, Tor and Net::HTTP::Proxy

My apologies in advance if this is a noobish doubt: I want to use a proxy in my Ruby code …

ruby proxy tor net-http
ruby net/http opening connection very slow

When I'm working with net/http in development it is extremely slow. I've installed net-http-spy gem to get some info …

ruby net-http
POST request to HTTPS using Net::HTTP

This POST request using Ajax works perfectly: var token = "my_token"; function sendTextMessage(sender, text) { $.post('https://graph.facebook.com/…

ruby-on-rails ruby post rest-client net-http