Does anyone know of a site which returns nothing but your IP address in text/plain when hit with a GET request?
Such a thing would be useful for scripting purposes.
Such a thing would be useful for scripting purposes.
Anyway, I'll bite:
lambda { |env| [200, {'Content-Type'=>'text/plain'}, [Rack::Request.new(env).ip]] }