Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/routes/io/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
File,
UploadFile,
Form,
Request
Request,
Resonse
)
from models.responses import *
from foss42.text.slugify import slugify
Expand Down Expand Up @@ -82,6 +83,10 @@ async def analyze_img_file(

user_data = {}

@io_router.head("/head")
async def head_endpoint():
return Response(headers={"Custom-Header": "Ok"})

@io_router.post('/user/create')
async def create_user(username:str,
email:str,
Expand Down