mirror of https://github.com/Bunsly/JobSpy
modify postman for /health
parent
9d15cae601
commit
c2b8a5b84a
1
main.py
1
main.py
|
@ -10,7 +10,6 @@ app = FastAPI(
|
|||
)
|
||||
app.include_router(api_router)
|
||||
|
||||
|
||||
@app.get("/health", tags=["health"])
|
||||
async def health_check():
|
||||
return {"message": "JobSpy ready to scrape"}
|
||||
|
|
|
@ -222,7 +222,7 @@
|
|||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://127.0.0.1:8000/",
|
||||
"raw": "http://127.0.0.1:8000/health",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"127",
|
||||
|
@ -232,7 +232,7 @@
|
|||
],
|
||||
"port": "8000",
|
||||
"path": [
|
||||
""
|
||||
"health"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -243,7 +243,7 @@
|
|||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://127.0.0.1:8000/",
|
||||
"raw": "http://127.0.0.1:8000/health",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"127",
|
||||
|
@ -253,7 +253,7 @@
|
|||
],
|
||||
"port": "8000",
|
||||
"path": [
|
||||
""
|
||||
"health"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue