How to send iOS data to Azure mobile service database?
<p>I'm new to swift and Azure and am trying to send some data from my swift app up to my azure mobile database.  I have an app with CoreData working but after fetching my data i'm running into difficulties sending it up to azure. I'm trying to use the insert table method from the azure framework. </p>

<p>I've tried this method: </p>

<pre><code>let client = MSClient(applicationURLString: "https://mymobileapp.azure-mobile.net/", applicationKey: "aAaBbBcCc…")

var client = AppDelegate().client // To reference my constant in AppDelegate.swift

var itemTable:MSTable = client.tableWithName("Item")
var itemToInsert:NSDictionary = ["text":"My Awesome Item 1"]

itemTable.insert(itemToInsert,
    completion: {
        insertedItem, error in
        if error{
            println("error: \(error)")
        }
        else{
            println("Success!")
        }
    }
)
</code></pre>

<p>But I'm running into problems with the application key. From what I can gather, the application keys are no longer used in Azure Mobile Apps.  </p>

<p>I've also tried the method shown in the Mobile App QuickStart guide for swift but the code seems to be for an older version of swift. </p>

<p>I'm not trying to display a table in my app just upload data to the database.  Any help would be appreciated!</p>