tags:

views:

45

answers:

2

I wanted to try the example here

http://www.codeconscious.com/rebol/rebol-net.html#HTTP

print read/custom http://babelfish.altavista.com/translate.dyn reduce ['POST {text=REBOL+Rules&lp=en_fr}]

Since the page has changed since I modified it to

write clipboard:// read/custom http://babelfish.altavista.com/translate.dyn reduce ['POST {trtext=hello+world&lp=en_fr&btnTrTxt=Translate}]

It does return an html page but it doesn't contain any translation. What did I miss thanks ?

A: 

POST with Rebol works, so my guess is that the babelfish page has become more complicated in the time since the writing of the tutorial.

luminarious
I have looked at the html page it's not so complicated and I have modified the code to suit it but it doesn't work.
Rebol Tutorial
+1  A: 

There are a lot of hidden variables which you haven't included ...

 <input type=hidden name="ei" value="UTF-8"> 
 <input type=hidden name=doit value="done"> 
 <input type=hidden name=fr value="bf-home"> 
 <input type=hidden name=intl value="1"> 
     <input type=hidden name=tt value="urltext" > 
Graham Chiu
Oh well thank you will try again with these.
Rebol Tutorial