title: How to set content-type and POST for backbone.js?
body: <p>Can I set <code>content-type</code> and <code>POST</code> in backbone.js?</p>
  
  <pre><code>this.save(data, {
      success: function (user) {
          callback(user.get('LoginStatus'))
      },
  
      error: function (user, result, xhr) {
  
      }
  });
  </code></pre>
  
  <p>I am getting bad-request when I try to make a REST service call, it works in fiddler. Do we need to set the type and Content-type?</p>
  
  <p>Here is the error i get</p>
  
  <pre><code>[ERROR][TiHttpClient(  636)] (TiHttpClient-1) [13340,13340] HTTP Error (org.apache.http.client.HttpResponseException): Bad Request
  [ERROR][TiHttpClient(  636)] org.apache.http.client.HttpResponseException: Bad Request
  [ERROR][TiHttpClient(  636)]    at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:240)
  [ERROR][TiHttpClient(  636)]    at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:199)
  [ERROR][TiHttpClient(  636)]    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
  [ERROR][TiHttpClient(  636)]    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)
  [ERROR][TiHttpClient(  636)]    at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1217)
  [ERROR][TiHttpClient(  636)]    at java.lang.Thread.run(Thread.java:1020)
  [ERROR][TiAPI   (  636)]  [REST API] ERROR: " *** FaultException : Object reference not set to an instance of an object."
  [ERROR][TiAPI   (  636)]  [REST API] apiCall ERROR: " *** FaultException : Object reference not set to an instance of an object."
  </code></pre>