title: Get Input from form for API url Request in rails?
body: <p>I'm new to Rails and I'm trying to make a simple weather API to get weather by zipcode
  is there a way to get the zipcode from user input from a simple form, this will be just for learning so I'm not trying to make users devise, or users model</p>
  <pre><code>require 'net/http'
      require 'json'
      @url = 'http://api.openweathermap.org/data/2.5/weather?zip=#{zipcode}&amp;appid=APIKEY'
      @uri = URI(@url)
      @response = Net::HTTP.get(@uri) 
      @output = JSON.parse(@response)
  
  </code></pre>