title: Using Ember.js to Receive JSON API in Server Response from a Post Request
body: <p>I have an API that I interface with by sending a JSON object in the body of a post request. In return, upon successful authorization the server will respond with a JSON API feed in the body of its post response.</p>
  
  <p>How can I use Ember.js to receive the payload returned from the server as a result of sending the JSON request? I see that Ember Data, and Ember-model allows for the use of headers, but it doesnt look like theres the ability to send a POST body. </p>
  
  <p>Here's an example of the JSON I need to send the server in order to receive the JSON API back in the post response.</p>
  
  <pre><code>{
      "auth": {
          "type" : "basic",
          "password": "xxx",
          "username": "someone"
      },
      "requestId" : 15,
      "method": {
          "name": "getUserAvailabilityAndInfo",
          "params": {
              "userId" : "000",
              "peopleOnly" : "1"
          }
      }
  }
  </code></pre>