Skip to content
Discussion options

You must be logged in to vote
@app.post("/multi")
async def check_multi_files(files: list[UploadFile]):
    return {"filenames": [file.filename for file in files]}

Hi JarroVGIT~!. First of all, Thank you.
I have coded as per your suggestion and succeeded in uploading multi-files.
Thank you~!

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mkmkmkmkmkmkmkmkmkmkmk
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Kludex
Comment options

You must be logged in to vote
1 reply
@iudeen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem question-migrate
6 participants
Converted from issue

This discussion was converted from issue #4992 on February 27, 2023 22:05.