mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
add response type
This commit is contained in:
parent
24154fdbbb
commit
3455ec6c04
2
main.py
2
main.py
@ -45,7 +45,7 @@ async def health_check():
|
|||||||
|
|
||||||
|
|
||||||
@app.post("/v1")
|
@app.post("/v1")
|
||||||
def read_item(request: LinkRequest):
|
def read_item(request: LinkRequest) -> LinkResponse:
|
||||||
"""Handle POST requests."""
|
"""Handle POST requests."""
|
||||||
start_time = int(time.time() * 1000)
|
start_time = int(time.time() * 1000)
|
||||||
# request.url = "https://nowsecure.nl"
|
# request.url = "https://nowsecure.nl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user