Page 1 of 1

How to send binary data to HTTP POST server?

Posted: Fri Aug 11, 2023 2:46 pm
by yb0kli
Hi, I'm new to Annex32 and I found it is a fantastic work of art which I delighted to learn more. I learned good old days BASIC language several decades ago and I feel a nostalgic when I see Annex32 first time appeared on my browser :lol:

During my learning, I have a problem on how to send a binary data, i.e. image file taken from camera.picture() to a web API with HTTP POST method. The string variable seems can't handle NULL character, but I can't use IObuff for wpost$(). CMIIW.

Is there a way so we can send binary data to HTTP POST service?

Appreciate all the hints. Thank you :D

Re: How to send binary data to HTTP POST server?

Posted: Fri Aug 11, 2023 2:55 pm
by cicciocb
HI and welcome to the group.
No, actually is not possible to send binary data to server but I plan to implement this feature, probably using IOBUFFERS

Re: How to send binary data to HTTP POST server?

Posted: Fri Aug 11, 2023 3:56 pm
by yb0kli
Thank you for letting me know this fact, and I'll wait for the new feature to be implemented.