Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,7 @@ def call_private_api(**kwargs):
|
|
| 19 |
# You can add other kwargs to the payload here if needed by the specific API
|
| 20 |
# "kwargs": {"some_param": "some_value"}
|
| 21 |
#}
|
|
|
|
| 22 |
response = requests.post(api_url, headers=headers, json=kwargs)
|
| 23 |
return response.json()
|
| 24 |
|
|
|
|
| 19 |
# You can add other kwargs to the payload here if needed by the specific API
|
| 20 |
# "kwargs": {"some_param": "some_value"}
|
| 21 |
#}
|
| 22 |
+
print(kwargs)
|
| 23 |
response = requests.post(api_url, headers=headers, json=kwargs)
|
| 24 |
return response.json()
|
| 25 |
|