I'm using python's aiohttp basic request module to make requests. My request is base64 encoded string and request body looks like:
body = {'request': 'eyJhYmMiOiJ4eXoifQ=='}
Here is the code for sending request:
response = yield from request(method='POST', url=url, allow_redirects=False, headers=headers, data=body)
The problem here is, this is getting received at the other end as:
{'request': 'eyJhYmMiOiJ4eXoifQ%3D%3D'}
which I believe is the url-encoded version of my request body.
How can I avoid this and send request as it is?