'Make a get request with a multiple value param in django requests Module?
I have a webservice that give doc list. I call this webservice via get_doc_list. but when I pass 2 values to id__in, it return one mapping object.
def get_doc_list(self, id__in):
config = self.configurer.doc
params = {
"id__in": id__in,
}
response = self._make_request(
token=self.access_token,
method='get',
proxies=self.proxies,
url=config.service_url,
params=params,
module_name=self.module_name,
finalize_response=False
)
return response
How can I fix it?!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
