Tried http post doesn't work

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 ?

-------------Problems Reply------------

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" >

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.

Category:rebol Views:0 Time:2010-04-20
Tags: rebol

Related post

  • HTTP POST doesn't work on Internet Explorer 8 (after redirection) 2011-02-04

    I'm trying to redirect a domain to another site, without changing the first URL (users should keep viewing http://www.myurl.org since the new URL would be https://wwws.enterprisedomain.com). I could do this, inserting a frame in the index.htm of the

  • jquery $.post doesn't work as expected 2012-02-18

    Why doesn't post work? This works ok: function validateEmail($element) { var val = $.trim($element.val()); if (!isRequired(val)) { module.showError($element, translate_error_required.replace("%s", $element.closest("div.fblock") .find("div.label label

  • Trying to set up Apache+svn, but having troubles. http://localhost doesn't work 2009-02-10

    I'm running Ubuntu 8.10 and I've installed the necessary packages as fast as I can tell. Under System > Administration > Services I see "Webserver (Apache2)" on the list. Googling around suggested that there might be a problem with the /etc/hos

  • https request doesn't work in phonegap-iphone app 2010-07-13

    I am trying to call https request in phonegap-iphone app using jquery's methodgetJSON(). It works fine in normal safari, but in mobile safari, It gives error like "Download Failed-Safari cannot download this file". --------------Solutions------------

  • Ajax post doesn't work with html in parameters in combination with .net 4 framework 2010-09-24

    After upgrading our project to the .net 4.0 framework (from 3.5), we facing some problems with ajax calls with html in the parameters. As soon as the user enters some html in a text area the ajax call isn't executed anymore. If the user enters plain

  • c libcurl POST doesn't work consistently 2010-12-14

    I am trying to POST xml data from a c program using libcurl to a website. When I use the command line program in linux, curl like this it works fine: curl -X POST -H 'Content-type: text/xml' -d 'my xml data' http://test.com/test.php (I changed the ac

  • jquery post doesn't work in ie 2011-01-08

    My jquery code works in ff, chrome, opera, safari but it doesn't work in ie. My data i am reciving is in html format. What I have to change? $("input[type='radio'][name='dishType']").change( function() { var dishType = $(this).val(); $.post('index.py

  • HTTP POST request not working over 3G 2010-07-28

    When making the following HTTP POST request: NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url]; [request setHTTPMethod:@"POST"]; NSURLResponse *urlResponse = nil; NSError *error = nil; // execute NSData *responseData = [NSURLCon

  • Http Listener doesn't work on Port 8080 or other ports (works only on port 80) 2010-08-01

    I wrote a simple WebServer using HttpListener class (.net 2.0) It seems that It doesn't work on port other then 80. When i sniff the transport to my server i can see the Syn packets on Port 8080 arrive to the server, but there is no Syn/Ack response,

  • Htaccess form POST doesn't work? 2011-04-04

    I have a form with an action that redirects to a page; <form method="post" action="active"> The "active" page is a rewritten rule; RewriteRule ^active$ active_form-sec.php The page with the form is also a RewriteRule. The problem is, everytime

  • JQuery $.post() doesn't work 2011-07-30

    Can any one help me with the following code: $(document).ready(function() { $("#add_user").submit(function() { $.post( "../php/register_sql_ins.php", {r_fname: $("#fname").val(), r_lname: $("#lname").val(), r_uname: $("#uname").val(), r_pass: $("#pas

  • Json parsing using http post method not working 2011-10-20

    i have to parse a json using http post method but i am always getting the response that the method not been implemented.But it works for post method.this is my code NSString *password = txtPassword.text; NSArray *objects = [NSArray arrayWithObjects:@

  • jQuery AJAX Post doesn't work 2012-04-05

    I can't figure out why the following code doesn't work. For the time being, the php function "alias_valid" just returns a string for testing purposes, so I haven't included the php function here. The alert is empty. $.post(SITE_ROOT + "includes/Abstr

  • Notification of forum posts doesn't work 2012-03-14

    When I post a question, then check the box to be notified of responses (", I never get notified! How am I supposed to be notified? <IE9> --------------Solutions------------- Hi try clicking on your name in the top right of any forum page then c

  • http post is not working using cUrl (libcurl) 2012-03-03

    I'm making simple http post request using libcurl to index.php file on my web server that has the following simple code writing post data to a file if (isset($_POST['abc'])){ $log="abc.log"; $h=fopen($log,"w"); fwrite($h,$_POST['abc']); fclose($h); }

  • HTTP Requests (POST) doesn't works correctly in a DLL Library? 2009-10-08

    I'm trying to use TweetSharp in a DLL Library. When I execute the following code in a DLL Library, the response returns invalid (417 Unknown): var verify = FluentTwitter.CreateRequest() .AuthenticateWith("<HIDDEN>", "<HIDDEN>", "<HIDDE

  • Cookies-Http POST doesn't correctly work, why? 2009-12-11

    Probably this is often problem, but I can't solve it. I need to automaticallly fill out some fields on the web form, which is given from server. I use Apache HttpClient to make more easy my life) By now, one can consider my steps to acheive the aim:

  • Serialized my in App "Shopping Cart" now trying to send it to a server using http Post - doesn't reach destination 2011-06-17

    I have a shopping cart in my app and an underlying data structure that I have serialized into an XML file. Im using the following code to place it on my server. However, nothing happens. Whe I check my server I donot find my file there. So I tried us

  • $.post doesn't work on locally deployed site 2010-09-28

    I recently "converted" an HTML website to web forms. By convert, I mean I opened the website in Visual Studio 2010, added a web.config file to allow HttpPost protocol, and called it converted. However, my form doesn't want to post to my .aspx page. W

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.112 (s). 11 q(s)