HTTP send image to webpage

I am capturing the viewport data and can send to to a remote application, which displays it – this works fine.
However, I decided that I would like to try it in the browser, too:

HttpRequest->SetHeader("Content-Type", "image/png");

// Execute the request

Here is the data:

const TArray<uint8> data;

My HTML looks like this:

        <meta name="viewport" content="width=device-width, minimum-scale=0.1">
    <body style="margin: 0px;">
        <img  style="-webkit-user-select: none" src="http://localhost:9291/">

However, my image is never displayed… all that happens is I see my page waiting for localhost… waiting and waiting…

Does anyone have any idea what is wrong? I would love some help with this.


Do you have solved this problem?

I think that I resorted to writing the image to a file and then accessing it via the browser, but I have stopped using Unreal Engine because of the lack of support, examples and rather poor documentation. I’m sure it will mature into a fantastic product over time, though! Sorry, but I am unable to help further :frowning: