async def post_todo(todo: Todo): response = await create_todo(todo.dict()) if response: return response raise HTTPException(400, "Something went wrong")