Attempt 2: non working

I've tried: 
1) with and with out .opts

2) 
genes.json=toJSON(list(input=genes)) 
pres = postForm(uri=url, .params=genes.json, style="POST")

3) genes.json=toJSON(genes)