title: RestClient::Request.execute passing hashset
body: <p>I have been using a RestClient request as such:</p>
  
  <pre><code>response = RestClient.post server_url, post_params, accept: :json
  </code></pre>
  
  <p>Which has been working fine. But I need to increase the timeout as it's not completing every now and then while the server is performing the upload.</p>
  
  <p>I have researched and found that the only solution is to change the syntax to something like:</p>
  
  <pre><code>response = RestClient::Request.execute(:method =&gt; :post, :url =&gt; server_url, post_params, :timeout =&gt; 9000000000)
  </code></pre>
  
  <p>however, I don't seem to be able to pass the hashmap of parameters (<code>'post_params'</code>) like i was able to in the previous call. how should I write the request so that <code>'post_params'</code> is included. It's a complex hashmap, so i can't augment it or get rid of it.</p>
  
  <p>Help is much appreciated.</p>