Added sample code for the Attachments::uploadWithBody

Added sample code for the Attachments::uploadWithBody to test this recently added method.

/cc @dpawluk @shanitang @ggrossman