Joe — 21-Feb-2011/20:23:56-8:00
How do we submit a Request URI for POST or a Request Version?
Nick — 22-Feb-2011/12:32:08-8:00
response: read/custom http://some-site/cgi-bin/API [POST "a=1&b=2&c=3"]
Joe — 22-Feb-2011/19:58:42-8:00
That doesn't work. It doesn't set the Request URI or the Request Version.
Endo — 23-Feb-2011/3:54:02-8:00
I'm not sure but this may be helpful:
http://www.rebol.org/view-script.r?script=http-post.r&sid=tcb22gi
Graham — 23-Feb-2011/14:14:25-8:00
Nick's response looks good to me. But if you want to submit multipart data, that's a different ball park.
Joe — 23-Feb-2011/20:56:32-8:00
I guess I don't see where Nick's example sending the Request Version of "HTTP/1.1"
Joe — 23-Feb-2011/21:03:21-8:00
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.