post body attachment code example Example: how to send attachments to api I would use multipart method