pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
📨 📨 & 📁
👆 💪 🔬 📁 & 📨 🏑 🎏 🕰 ⚙️ File
& Form
.
!!! info
📨 📂 📁 & /⚖️ 📨 📊, 🥇 ❎ python-multipart
.
🤶 Ⓜ. `pip install python-multipart`.
🗄 File
& Form
{!../../../docs_src/request_forms_and_files/tutorial001.py!}
🔬 File
& Form
🔢
✍ 📁 & 📨 🔢 🎏 🌌 👆 🔜 Body
⚖️ Query
:
{!../../../docs_src/request_forms_and_files/tutorial001.py!}
📁 & 📨 🏑 🔜 📂 📨 📊 & 👆 🔜 📨 📁 & 📨 🏑.
& 👆 💪 📣 📁 bytes
& UploadFile
.
!!! warning
👆 💪 📣 💗 File
& Form
🔢 ➡ 🛠️, ✋️ 👆 💪 🚫 📣 Body
🏑 👈 👆 ⌛ 📨 🎻, 📨 🔜 ✔️ 💪 🗜 ⚙️ multipart/form-data
↩️ application/json
.
👉 🚫 🚫 **FastAPI**, ⚫️ 🍕 🇺🇸🔍 🛠️.
🌃
⚙️ File
& Form
👯♂️ 🕐❔ 👆 💪 📨 💽 & 📁 🎏 📨.