Re: [R] problem post request with RCurl

2009-11-18 Thread Duncan Temple Lang
Use curlPerform(url = 'http://pubchem.ncbi.nlm.nih.gov/pug/pug.cgi', postfields = q) That gives me: 31406321645402938 Rajarshi Guha wrote: >

[R] problem post request with RCurl

2009-11-18 Thread Rajarshi Guha
Hi, I am trying to use a CGI service (Pubchem PUG) via RCurl and am running into a problem where the data must be supplied via POST - but I don't know the keyword for the argument. The data to be sent is an XML fragment. I can do this via the command line using curl: I save the XML string t