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]]

