title: How to send header and cookies with rest-client gem
body: <p>In Code I am trying to send both the header and cookies in same request 
  below is the code</p>
  
  <pre><code> @result = RestClient.post(
                'url',
                {:billingSourceCode =&gt; "code"},
                {:cookies =&gt; {:session_id =&gt; "1234"}},
                {:headers =&gt; {'Content-Type' =&gt;'application/json', 
                             "Authorization" =&gt; "key",  
                             "Accept" =&gt; "application/json"}})
  </code></pre>
  
  <p>i am getting below error message</p>
  
  <pre><code>ArgumentError (wrong number of arguments (4 for 3)):
  </code></pre>