Open
Description
Hi there,
I'm attempting to send an object like the one below:
var data = {
"wheres": {
ResultServer: 1
}
};
Then using:
aja()
.method('post')
.url('some_url')
.data(data)
.on('200', function(response) {
return response
})
It appears though that what's being sent is [object Object]
in the second indentation, am I doing something wrong?
I'm outputting the POST request on the receiving end, getting this:
{"wheres":"[object Object]"}