Re: Can I http POST a file
- Posted by bugmagnet Jan 31, 2013
- 2118 views
It doesn't look like theres an option in the HTTP lib to send a raw POST body
I've just had a look at the docs, and yes, there's no way to specify a custom body.
What you're left with then, is to badger the devs into giving you the option of a custom body, or else write your own http_post function. What platform are you running on? You could either explore the option of wrapping the operating system's library for http transactions (e.g. for Windows), or else wrap something like libcurl.
According to the libcurl site there is support for Euphoria. However, following the links takes you to the site of one Raymond Smith who, it would appear, has given up on Euphoria altogether. He has, however, made his eulibcURL sources available. Some work will need to be done to bring these into line with the most recent version of Euphoria.
Regards,
bugmagnet