I am using an API endpoint URL which returns a byte array of content-type: image.
This endpoint will be used in the src attribute of the image tag to display the image.
I am doing this because the image is to be displayed in an email client and the client deletes the src attribute if I use a base64 string
The endpoint I am using has a mandatory correlation-id in the header.
How can I use the endpoint URL in the src attribute of an image tag with the mandatory correlation-id