Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: HTTP-Post Error

From: rebol-list2:seznam:cz at: 21-Oct-2002 11:48

Hello Matthew, Saturday, October 19, 2002, 2:41:08 PM, you wrote: MK> To be quite honest, I'm still a newbie at REBOL and I find the code you MK> posted, very difficult to understand! I wish I were a REBOL genious! =) Everything needs some time:-) I had to spend a lot of my time to find how to use the /custom switch, because I havn't seen any documentation on it. Important is, that if you just need to post data, you can do: read/custom url [post "data=value"] In the more complex example I've send I use 'open port, because I needed to get the cookie. This is set in the port/locals/headers as the 'set-cookie value (if there is some cookie) To post the cookie with your data, you have to use: read/custom url [post "data=value" header [Cookie: "cookie_name=value"]] I was using the %http-post.r script as well but since there is support directly in Rebol, why not to use it.