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.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"}
|
||||||
|
|
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue