I am experiencing that the returned ‘data’ object is empty when a response is received from a Flask server, even though you can see in the webClientDAT window that the base64 encoded image has indeed been received.
If you compare the webClientDAT in the top right corner to the Textport output in the top left corner, you can see the difference. The code is visible in the lower right corner.
I have the same TD patch running on another system where the problem does not occur.
The system with a problem:
Windows 10
TD Build: 2022.32660
Communicating with a Flask server running on Ubuntu in WSL
The system without the problem is
Win10
TD build 2022.31030
Communicating with a Flask server running on a linux-based HPC