Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

converter json em form-data-encoded python

from urllib.parse import urlencode
keys_values =  {'foo': 1, 'bar': 2}
result = urlencode(keys_values)

print(result) 
# output: 'foo=1&bar=2'
 
PREVIOUS NEXT
Tagged: #converter #json #em #python
ADD COMMENT
Topic
Name
1+9 =