@app.post("/putObject") async def put_object(request: Request, application: str, file: UploadFile = File(...)) -> str: request_object_content = await file.read() img = Image.open(io.BytesIO(request_object_content))