Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,8 +36,9 @@ def apifunction():
|
|
| 36 |
data = request.get_json()
|
| 37 |
print('here',data)
|
| 38 |
# Extracting values
|
| 39 |
-
|
| 40 |
-
|
|
|
|
| 41 |
return jsonify('received')
|
| 42 |
|
| 43 |
except error:
|
|
|
|
| 36 |
data = request.get_json()
|
| 37 |
print('here',data)
|
| 38 |
# Extracting values
|
| 39 |
+
if data:
|
| 40 |
+
allapi = data.get('allapi')
|
| 41 |
+
print(allapi)
|
| 42 |
return jsonify('received')
|
| 43 |
|
| 44 |
except error:
|