[REBOL] Re: Newbie: Trouble filling a form using "http-post.r"
From: kimm2:mcmaster:ca at: 8-Jun-2002 1:05
Hey, that's a pretty neat trick!
Well, I tried what you suggested, but it still doesn't seem to work. I
also tried using all the variables listed included
sm_logo
sm_status_ok
etc...
but that still didn't work.
Am I interpreting the REBOL code properly? For instance, is this
correct?
english-to-german: func [
; {Translates a string in English to German, using
babelfish.altavista.com}
; english-text "String in english"
;][
not-lt-gt: complement charset [#"<" #">"]
tag-rule: ["<" some not-lt-gt ">"]
tmp: http-post-form
http://216.129.53.44:8080/cgi-bin/send_sm_rogers.new reduce [
"msisdn" "4165551212"
"area" "416"
"num1" "555"
"num2" "1212"
"oldtext" "testing"
"text" "testing"
"SIZEBOX" "7"
"sm_title" "Rogers+%7C+Wireless"
"sm_header_ok" "Thank+You"
"sm_header_fail" "Sorry"
"sm_ym" "Your+Message%3A+"
"sm_status_ok" "has+been+sent+to%3A"
"sm_status_fail" "cannot+presently+be+sent+to%3A+"
"sm_logo" "%2Fatt-logo.gif"
"sm_pcs_link"
http%3A%2F%2Fwww.rogers.com%2Fenglish%2Fwireless%2Fsendpcs.html
"sm_pcs_text" "Send+a+PCS+message"
"sm_home_link" "http%3A%2F%2Fwww.rogers.com"
"sm_home_text" "home"
]