iOS app can send document text to database