8000 Objects within Objects · Issue #24 · krampstudio/aja.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Objects within Objects #24
Open
Open
@Maelstromeous

Description

@Maelstromeous

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).

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0