modify postman for /health

pull/18/head
Cullen Watson 2023-08-27 13:01:37 -05:00
parent 9d15cae601
commit c2b8a5b84a
2 changed files with 4 additions and 5 deletions

View File

@ -10,7 +10,6 @@ app = FastAPI(
) )
app.include_router(api_router) app.include_router(api_router)
@app.get("/health", tags=["health"]) @app.get("/health", tags=["health"])
async def health_check(): async def health_check():
return {"message": "JobSpy ready to scrape"} return {"message": "JobSpy ready to scrape"}

View File

@ -222,7 +222,7 @@
"method": "GET", "method": "GET",
"header": [], "header": [],
"url": { "url": {
"raw": "http://127.0.0.1:8000/", "raw": "http://127.0.0.1:8000/health",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"127", "127",
@ -232,7 +232,7 @@
], ],
"port": "8000", "port": "8000",
"path": [ "path": [
"" "health"
] ]
} }
}, },
@ -243,7 +243,7 @@
"method": "GET", "method": "GET",
"header": [], "header": [],
"url": { "url": {
"raw": "http://127.0.0.1:8000/", "raw": "http://127.0.0.1:8000/health",
"protocol": "http", "protocol": "http",
"host": [ "host": [
"127", "127",
@ -253,7 +253,7 @@
], ],
"port": "8000", "port": "8000",
"path": [ "path": [
"" "health"
] ]
} }
}, },