QuoJS icon indicating copy to clipboard operation
QuoJS copied to clipboard

Sending an AJAX request with nested data

Open bjesus opened this issue 11 years ago • 0 comments

Hey, I'm trying to send a request with a key named object[attribute], but seems like QuoJS always escapes the [ ] and the request fails.

In jQuery I set data like so data: {'object[attribute]': true}

and it works, but the request isn't the same when using QuoJS hence doesn't work with my (rails) webserver.

Is there anyway to do this, or is this just not possible? I don't think it matters, but the request is a PATCH one.

Thanks for the great library.

bjesus avatar Aug 08 '13 22:08 bjesus