added method to allow EDI documents to be sent by HTTP request