How to submit Request URI via POST?

Started by Joe on 21-Feb-2011/20:23:56-8:00
How do we submit a Request URI for POST or a Request Version?
response: read/custom http://some-site/cgi-bin/API [POST "a=1&b=2&c=3"]
That doesn't work. It doesn't set the Request URI or the Request Version.
I'm not sure but this may be helpful: http://www.rebol.org/view-script.r?script=http-post.r&sid=tcb22gi
Nick's response looks good to me. But if you want to submit multipart data, that's a different ball park.
I guess I don't see where Nick's example sending the Request Version of "HTTP/1.1"
I found a way to set the Request URI by just doing: system/schemes/http/path: "/mypath/" Which trace/net on clearly shows. But when it shows HTTP/1.0 instead of HTTP/1.1.

Reply