Binary data to HandleURL from HTTPSocket

I wish allow a Web App to communicate with another stand alone XOJO Web server. I would like the solution to scale and be secured using standard Web technologies.

The Post method from HTTPSocket (or HTTPSSocket) invoked in the Web App’s code for Posting data sends a string. Is this method safe for binary data (e.g. from a file or memory block) or must I encode the data to Base64?

Thanks in advance…

Yes, you can send binary data over a socket. Either a String or MemoryBlock can hold binary data.

Thanks Tim, nice and easy!