title: Send POST request to another action
body: <p>That's just an example to know how to send a POST request from the action. So, let's say I have an action:</p>
  
  <pre><code>def download
    @t = params[:url]
  end
  </code></pre>
  
  <p>I want to send a POST request to another action, let's call it <code>doStuffWithPost</code>:</p>
  
  <pre><code>def doStuffWithPost
    # Save a row with that POST info, url_column = POST['url']
  end
  
  def download
    @t = params[:url]
    # Send POST with POST['url'] = @t
  end
  </code></pre>
  
  <p>In PHP I would use CURL probably, which requires quite lots of code. Is there an easy way to do that in Rails? If not, what should I use to pass parameters from one action and call the another? Thanks.</p>