AngularJS - How to send multidimensional $http.get() data
问题 So I have a JSON array that looks something like this: var myData = { foo : { biz : 'baz', fig : 'tree' } } This could be typed into the address bar like: http://www.mysite.com/index?foo[biz]=baz&foo[fig]=tree And this will work as expected. The problem is that when I supply this myData object to AngularJS's $http service like: $http.get('http://www.mysite.com', { data : myData }); It escapes the query string and doesn't appear to even be the right format even if it weren't esaped in the