diff options
Diffstat (limited to 'muck_poc')
-rwxr-xr-x | muck_poc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -168,6 +168,8 @@ class MuckAPI: def _get_json_body(self): f = bottle.request.body body = f.read() + if isinstance(body, bytes): + body = body.decode('UTF-8') return json.loads(body, encoding='UTF-8') def _get_resource_id(self): |