testing again requirements
Browse files- __pycache__/app.cpython-39.pyc +0 -0
- app.py +4 -3
__pycache__/app.cpython-39.pyc
ADDED
|
Binary file (647 Bytes). View file
|
|
|
app.py
CHANGED
|
@@ -28,8 +28,9 @@ def greet(request: NameRequest):
|
|
| 28 |
|
| 29 |
# uvicorn app:app --reload
|
| 30 |
|
|
|
|
|
|
|
| 31 |
# https://cyrilfrl-test.hf.space/greet
|
| 32 |
|
| 33 |
-
# curl -X POST
|
| 34 |
-
#
|
| 35 |
-
# -d '{"name": "Cyril"}'
|
|
|
|
| 28 |
|
| 29 |
# uvicorn app:app --reload
|
| 30 |
|
| 31 |
+
# git commit conventions?
|
| 32 |
+
|
| 33 |
# https://cyrilfrl-test.hf.space/greet
|
| 34 |
|
| 35 |
+
# curl -X POST https://cyrilfrl-test.hf.space/greet -H "Content-Type: application/json" -d '{"name": "Cyril"}'
|
| 36 |
+
# curl -X POST "http://127.0.0.1:8000/greet" -H "Content-Type: application/json" -d "{\"name\": \"Cyril\"}"
|
|
|