Posting document to server to be stored in memory