-d ' {"abc":[],"def":[]} '
how to write this curl command data parameter using rcurlpostfrom function.
I tried using this .opts = list(postfields = toJSON(list(abc= c(), def= c()))
and .opts = list(postfields = toJSON(list(abc= NULL, def= NULL))
or is there any other way to do it.
↧
curl -d parameter usage in rcurl
↧