The following example shows you how to add an attachment to a ListItem. To retreive attachments use method service.getListItemAttachments.
Name* Email* Message*