Check out the Red programming language from the same author
En /

Sandbox

Debug webapp from the command line which requires authentication

Since it uses session based cookies we might want to use this patch to add transparent cookie support to the Rebol HTTP protocol scheme: http://www.rebol.org/view-script.r?script=my-http.r

>> do http://www.rebol.org/download-a-script.r?script-name=my-http.r
>> trace/net on
>> read/custom http://localhost/testapp/login.rsp [POST "login=test&pass=letmein"]
>> read http://localhost/testapp/

FIXME: the my-http.r seems to be broken now (2011-05-09)

Alternatively we can use cURL which is also very cross platform: http://curl.haxx.se/download.html

$ curl -D- -c jar http://localhost/testapp/login.rsp -d 'login=test&pass=letmein'
$ curl -D- -c jar -b jar http://localhost/testapp/


Page last modified on May 08, 2011, at 08:43 PM
Powered by Cheyenne Web Server - © Softinnov