I am having trouble with the postForm function in RCurl.

I want to send a the command DELETE https://somewebsite.com.json

but I can't seem to find it.  I could try:

postForm(url, _method="DELETE", .opts = list(username:password) )

but I get the error:

Error: unexpected input in "        postForm(url4, _"

this error seems to be due to the underscore "_" before "method"

Any ideas how I can do a DELETE command another way in RCurl?

Thanks.



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to