Conection to a IOT 2050 via wifi with a router in between

It's been 20 years since I have walked on a raised floor.

You need a Web Service on your server, and the Web component.

Search this board for FAQ Web Services.

For what it's worth, here's a link to IOT2050 support community:
https://support.industry.siemens.com/forum/ww/en/threads/309/?page=0&pageSize=10

I'm not seeing much http support there.