diff --git a/pykuna/kuna.py b/pykuna/kuna.py index 60f1cf1..b6f4ed5 100644 --- a/pykuna/kuna.py +++ b/pykuna/kuna.py @@ -59,7 +59,7 @@ async def _request( from asyncio import TimeoutError url = "{}/{}/".format(API_URL, path) - headers = {"User-Agent": USER_AGENT} + headers = {"User-Agent": USER_AGENT, "Content-Type": "application/json"} if self._token: headers["Authorization"] = "Token {}".format(self._token) diff --git a/setup.py b/setup.py index de2d1e7..4818572 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setuptools.setup( name="pykuna", - version="0.5.0", + version="0.5.1", author="Mark Coombes", author_email="mark@markcoombes.ca", description="Python3 library for interacting with the Kuna camera mobile API",