Brothers

The bytes of the picture are in the data.RAWSOURCE variable after you download it. Then you can send e.g. as base64 or as a multipart request depending on what the api wants