mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-06 09:59:11 +00:00
add healtcheck example
This commit is contained in:
parent
16cfb420cf
commit
6ef9be7a61
@ -66,6 +66,14 @@ curl -X 'GET' \
|
||||
-H 'accept: application/json'
|
||||
```
|
||||
|
||||
*Healthcheck*
|
||||
|
||||
```console
|
||||
curl -X 'GET' \
|
||||
'http://127.0.0.1:8000/health' \
|
||||
-H 'accept: application/json'
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
FastAPI [generates automatic docs][auto-docs], visit the link in the startup message when you launch the server.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user