Thank you very much for this! Sorry to barge in on this thread, but as my question seems very related: how would I transfer group as well? So what should I add after the piece of code you gave?
I tried &group="+expInfo['group'] and &group='+expInfo['group'] but both seem incorrect.