The standard way for doing POST is a dojo.io.bind with something like
method: "POST",
content: {
somevar: somevalue,
somevar2: somevalue2
}
But what if I wanted to create a POST request wherein I didn't yet know what all the data that was going to be passed (instead of a known "somevar" I might have multiple items which I don't know the names of at the time...)
With GET this is easy, you could append to whatever your URL is with
url+="&somevar=somevalue";

I believe you do that with
I believe you do that with "content: someObject" versus "content: {someVar: someVal, someVar2: someVal2 }"....
and someObject would be a conglomeratation of whatever you wanted... someObject.someVar = someVal; someObject.something = somethingElse; etc etc...
-Karl
Karl's Solution Worked
This worked for me...thanks Karl
var content_object = {};
content_object[someVar] = someValue;