Changed so that it is possible to post either a text string or an attachments array. Updated readme accordingly.