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->SetVerb("POST");
HttpRequest->SetHeader("Content-Type", "image/png");
HttpRequest->SetContent(data);
HttpRequest->SetURL("http://localhost:9291");

// Execute the request
HttpRequest->ProcessRequest();

Here is the data:

const TArray<uint8> data;

My HTML looks like this:

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

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.

Thanks!

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: