make sure to base64 encode binary data, use new host url