Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Nesting GET objects does not work #506

Closed
reggi opened this Issue · 2 comments

2 participants

@reggi

Lets say I wan't to get to the following address:

http://google.com?awesome[key]=12345

This is what I tried to do and it failed:

{
    url: "http://google.com"
    qs: {
        awesome: {
            "key": "12345"
        }
    }
}

This fails as well:

{
    url: "http://google.com"
    qs: {
        "awesome[key]": "12345"
    }
}

In the response object I found something that looks like this:

http://google.com?awesome%5Bkey%5D=12345

So I just ran

{
    url: "http://google.com?awesome[key]=12345"
}

And this worked.

@mikeal
Owner

Is this still an issue?

This is so old I'm closing, if it is actually still an issue just let me know and I'll re-open.

@mikeal mikeal closed this
@reggi

Looks like it's fixed now, I couldn't reproduce error! Thanks @mikeal! :cake: :rainbow: :dolphin:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.