Hi I am trying to read from a restful api
http://localhost:1010/productfamily?date=2015-08-28&list=abc,xyz
I am passing the values like this
url = 'http://localhost:1010/productfamily'
sdate = '2015-08-28'
plist = 'abc,xyz'
params = (('date', sdate ), ('list', plist))
requests.get(url, params)
I am not getting the wanted output. How do i pass a comma separated string in this way?
It works when i pass it like this
requests.get(url+?'date='+sdate'&lisy='plist)