I am using python requests package to get results from a API and the URL contains + sign in it. but when I use requests.get, the request is failing as the API is not able to understand + sign. how ever if I replace + sign with %2B (URI Encoding) the request is successful.
Is there way to encode these characters, so that I encode the URL while passing it to the requests package
Error: test [email protected] does not exist
API : https://example.com/[email protected]
urlencode, but it's a good idea to see what else that module has to offer. - PM 2Ring