title: How to read the body of the request in Azure App Service?
body: <p>I am trying to create an EasyAPI in Azure App Service (migrated from Azure Mobiles Services). The message is sent from an iOS app using the following command in swift:</p>
  
  <pre><code>    let query: Dictionary&lt;String, AnyObject&gt; = ["name": theName]
      let param: Dictionary&lt;String, AnyObject&gt; = ["collectionName": theCollectionName, "query": query]
  
      AOAppDelegate.client!.invokeAPI("FMDataAPI", body: param, HTTPMethod: "POST", parameters: nil, headers: nil, completion: {(objects, httpResponse, error) in
  
         if error == nil {
  
            //Process response
  
         } else {
            print(error!.userInfo)
         }
      })
  </code></pre>
  
  <p>In the API I have the following Javascript code within the EasyAPI MyEasyAPI:</p>
  
  <pre><code>module.exports = {
  "post": function (req, res, next) {
      console.log("---------------------------------------")
      console.log(req.body)
  },
  </code></pre>
  
  <p>But body stays undefined.</p>
  
  <p>Any suggestions?</p>
  
  <p>Thanks,</p>
  
  <p>GA</p>