title: Missing square brackets in body of POST request using R's httr package
body: <p>I am using the R package httr to send a POST requests. I know how the body of the reqeust should look like, but I was not able to create it using httr. I am always missing a pair of square brackets (see below). </p>
  
  <p>How do I have to modify my R code to get the desired result?</p>
  
  <p>This is the R POST-snippet</p>
  
  <pre><code>cells &lt;- c("Dimensions('Time')/Hierarchies('Time')/Elements('ABC')",
        "Dimensions('Currency')/Hierarchies('Currency')/Elements('USD')")
  value &lt;- 123
  
  with_verbose(
    httr::POST(
      url = url,
      config = httr::config(ssl_verifypeer = FALSE, ssl_verifyhost = FALSE),
      body = list(Cells = list(`Tuple@odata.bind` = cells), Value = value),
      content_type("application/json"),
      encode = "json",
      set_cookies(...),
      handle = handle
    ) %&gt;% httr::content()
  ) 
  </code></pre>
  
  <p>desired body to be sent:</p>
  
  <pre><code>{
     "Cells":[
     {"Tuple@odata.bind":[
        "Dimensions('Time')/Hierarchies('Time')/Elements('ABC')",
        "Dimensions('Currency')/Hierarchies('Currency')/Elements('USD')"
     ]}
     ],
     "Value":"123"
  }
  </code></pre>
  
  <p>actual body that is sent:</p>
  
  <pre><code>{
     "Cells": ######### Missing bracket here #######
     {"Tuple@odata.bind":[ 
        "Dimensions('Time')/Hierarchies('Time')/Elements('ABC')",
        "Dimensions('Currency')/Hierarchies('Currency')/Elements('USD')"
     ]},
     ####### Missing bracket here #######
     "Value":"123"
  }
  </code></pre>