Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appdaemon/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading