I want to create a query string but without encoding the special character like @, ! or ?.
Here's my code:
payload = {"key": "value", "key2": "value2",
"email": "[email protected]", "password": "myPassword54321!?"}
print(urllib.parse.urlencode(payload))
Now I get as output this:
password=myPassword54321%21%3F&email=test%40hello3.ch
How can I make my output look like this:
password=myPassword54321!?&[email protected]