Restangular POST body empty
<p>I'm trying to make a request to <code>/api/sessions</code> with Restangular. My setup looks this way:</p>

<pre><code>var data = { "email": "user@email.com", password: "userpass" }
Restangular.all('/api/sessions').post(data, params, {'Content-Type': 'application/json'});
</code></pre>

<p>However this sends the POST request, but without the JSON body. </p>