title: How to send DELETE request with body using ruby gem?
body: <p>I am communicating with API that requires DELETE request with JSON body. This works on console:</p>
  
  <p><code>
  curl -XDELETE http://api.com/endpoint_path/rest_resource 
  -d '{"items":[{"type":"type1","item_id":"item1"}]}'
  </code></p>
  
  <p>It seems that most gems for making HTTP requests don't support DELETE request with body (I tried RestClient and Curb). Is there a way to do it using some Ruby gem (preferably Curb) or Net::HTTP?</p>