Source Code:
(back to article)
import urllib.parse query_params = {'param1': 'value1', 'param2': 'value2', 'param3': 'value3'} querystring = urllib.parse.urlencode(query_params) print(querystring)
Result:
Report an issue