title: How to have infinite path segments using Sinatra
body: <p>Lets say that I want to have unlimited path segements and have the get multiply them together such that:</p>
  
  <pre><code>get "/multiply/num1/num2/num3......" do
      num1 = params[:num1].to_i
      num2 = params[:num2].to_i
      .... 
      solution = num1 * num2 * ....
      "the solution is = #{solution}"
  end
  </code></pre>
  
  <p>I want the user to be able to type out as many path segments as they want and then get the solution for those numbers multiplied together.</p>