title: Create a folder in Office 365 API - Object C
body: <p>I'm developing AirFile, which support multi clouds. Now, i'll support Office 365 &amp; OneDrive Pro for Business. I has finished other operations as: get list of files, copy, move, upload, download, delete. But with Create a Folder, it cannot been finished!!</p>
  
  <p>As Office 365 document APIS (<a href="http://msdn.microsoft.com/EN-US/library/office/dn605900(v=office.15).aspx#Folder4" rel="nofollow">http://msdn.microsoft.com/EN-US/library/office/dn605900(v=office.15).aspx#Folder4</a>), i has set data when send a POST request with:</p>
  
  <pre><code>- (NSData *)postMehodData
  {
      NSString *params = @"{'__metadata':{'type':'MS.FileServices.Folder'},Name:'%@'}";
      params = [NSString stringWithFormat:params, [self.folderName stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
      return [params dataUsingEncoding:NSUTF8StringEncoding];
  }
  </code></pre>
  
  <p>I has also set request' url as API references, but the result's always HTTP 400 code.</p>
  
  <p>I also reference Android code from <a href="https://github.com/OfficeDev/Office-365-SDK-for-Android/blob/master/sdk/office365-files-sdk/src/com/microsoft/office365/files/FileClient.java" rel="nofollow">https://github.com/OfficeDev/Office-365-SDK-for-Android/blob/master/sdk/office365-files-sdk/src/com/microsoft/office365/files/FileClient.java</a>, but i cannot see why it's wrong!</p>
  
  <p>If i can missing any? Thanks any support.</p>