Re: [R] RCurl: authentication when posting forms

2008-09-01 Thread Valerie Obenchain
Hi Duncan, Yes, unfortunately my filter must have eaten your first response to my parseHTTPHeader question. Thanks for responding to it again here on the list and for the more efficient paste tip. Below is a getURI call that returns a not found message. It is a publicly available web site

Re: [R] RCurl: authentication when posting forms

2008-08-29 Thread EBo
I do not know if this is related, but for some functions to work properly cookies, java, and/or javaqscript need to be enabled. Some of the current pages do not check for requirements and warn, they just don't work properly. Just a thought of something else to try... EBo -- Duncan Temple

Re: [R] RCurl: authentication when posting forms

2008-08-28 Thread Duncan Temple Lang
Hi Valerie Valerie Obenchain wrote: Hi, Has anyone successfully used RCurl for posting data to a password-protected site? Yes. I just set up a sample form to test with and the following all work # Perl script (and HTML form for testing in the browser) taken from #

Re: [R] RCurl: authentication when posting forms

2008-08-28 Thread Valerie Obenchain
Duncan, Thank you for the examples. I had tried all of these different options for authentication but had no luck. I was getting a 100 continue and then a 401 unauthorized response. This morning the owners of the server I was trying to access discovered a bug with their api when using

Re: [R] RCurl: authentication when posting forms

2008-08-28 Thread Duncan Temple Lang
Valerie Obenchain wrote: Duncan, Thank you for the examples. I had tried all of these different options for authentication but had no luck. I was getting a 100 continue and then a 401 unauthorized response. This morning the owners of the server I was trying to access discovered a bug

[R] RCurl: authentication when posting forms

2008-08-27 Thread Valerie Obenchain
Hi, Has anyone successfully used RCurl for posting data to a password-protected site? I have tired using option netrc=1 with both postForm and curlPerform (with postfields option) but can't authenticate. I would happily provide more details if some one has had some experience with this.