[R] Http Get-Post?

Pfaff, Bernhard Bernhard.Pfaff at drkw.com
Mon May 12 11:46:09 CEST 2003


Hi!
How can i send http Post and Get messages to a Web server from within R?
Has anybody implemented a function like?
form(action="http://big.thing.inf/cgi-bin/answer.pl",list(test="my",somethin
g="there"),method="POST").
Has anyone a package with a similar functionality like the
LWP  and HTTP::Request::Common packages in Perl?
Or has anybody a function that sends a post to a server?
Eryk

Dipl. bio-chem. Eryk Witold Wolski    @    MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin          'v'
tel: 0049-30-84131285               /   \
mail: wolski at molgen.mpg.de        ---W-W----



Hello Eryk,


the contributed package: "R2HTML" might be of use in achieving your goal.
Something along the lines:

testfile <- HTMLInitFile(.....your settings...)
HTML("form(action='http://big.thing.inf/cgi-bin/answer.pl',list(test='my',so
mething='there'),method='POST')", ...)
HTMLEndFile()



HTH,
Bernhard


----------------------------------------------------------------------
If you have received this e-mail in error or wish to read our e-mail 
disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender.




More information about the R-help mailing list