Sending data and files as multipart request using aiohttp
I am trying to send a “multipart/form-data” request through aiohttp. I have already tried using requests and the request works fine.
I have a class where self.files
is an io.BytesIO
object and self.data
is a dictionary of string values.