Update to avoid file uploads problems

The fact to use CURL arguments in a GET way generates issues when using
set_note_attachment method with binary files