Fixed parameter encoding for GET requests.

This commit is contained in:
Josh Hall-Bachner 2013-06-14 16:15:43 -07:00
parent 6ba548e21e
commit c5beab777f

View File

@ -253,7 +253,7 @@
// prepare final parameters
var body = {};
if(bodyFormat == 'json') {
if(bodyFormat == 'json' && method != 'GET') {
body = unflattenDict(params);
body = JSON.stringify(body);
} else {