sent attachment through api code example Example: how to send attachments to api I would use multipart method