Added net-http gem
Added post_params for json data. Edited routes.rb.