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]"}
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29481720-objects-within-objects?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github).
Hi there,
I'm attempting to send an object like the one below:
Then using:
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:
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29481720-objects-within-objects?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github).{"wheres":"[object Object]"}