diff --git a/python_apps/api_clients/api_client.py b/python_apps/api_clients/api_client.py index 2a2353857..635467b35 100644 --- a/python_apps/api_clients/api_client.py +++ b/python_apps/api_clients/api_client.py @@ -83,7 +83,8 @@ class ApiRequest(object): # TODO : get rid of god damn urllib and replace everything with # grequests or requests at least final_url = self.url.params(**kwargs).url() - req = urllib2.Request(final_url, _post_data) + post_data = urllib.urlencode(_post_data) + req = urllib2.Request(final_url, post_data) response = urllib2.urlopen(req).read() return json.loads(response)