mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
data fix for json
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ def get_dict(*keys, **extras):
|
||||
form = nonflat_dict
|
||||
|
||||
try:
|
||||
_json = json.loads(request.data)
|
||||
_json = json.loads(data)
|
||||
except ValueError:
|
||||
_json = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user