diff --git a/appdaemon/http.py b/appdaemon/http.py index 21a1b7ceb..09556e25c 100644 --- a/appdaemon/http.py +++ b/appdaemon/http.py @@ -965,7 +965,7 @@ async def dispatch_app_endpoint(self, endpoint, request): if request.method == "POST": try: - args = await request.json() + args = await request.json() if request.can_read_body else null except json.decoder.JSONDecodeError: return self.get_response(request, 400, "JSON Decode Error") else: