diff --git a/nvchecker/httpclient/aiohttp_httpclient.py b/nvchecker/httpclient/aiohttp_httpclient.py index 5dbfde1..149ed2e 100644 --- a/nvchecker/httpclient/aiohttp_httpclient.py +++ b/nvchecker/httpclient/aiohttp_httpclient.py @@ -42,7 +42,7 @@ class AiohttpSession(BaseSession): if json is not None: kwargs['json'] = json if body is not None: - kwargs['body'] = body + kwargs['data'] = body try: logger.debug('send request', method=method, url=url, kwargs=kwargs)