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.8 KiB

⚙️ 📨 🔗

🆙 🔜, 👆 ✔️ 📣 🍕 📨 👈 👆 💪 ⏮️ 👫 🆎.

📊 ➡️:

  • 🔢.
  • 🎚.
  • 🍪.
  • ️.

& 🔨, FastAPI👈 💽, 🏭 ️ & 🏭 🧾 👆 🛠️ 🔁.

📤🌐 👆 💪 💪 🔐 Request 🎚 🔗.

🔃 Request 🎚

FastAPI 🤙 💃 🔘, ⏮️ 🧽 📚 🧰 🔛 🔝, 👆 💪 ⚙️ 💃 Request 🎚 🔗 🕐 👆 💪.

🔜👈 🚥 👆 🤚 📊 ➡️ Request 🎚 🔗 (🖼, ✍ 💪) 🏆 🚫 ✔, 🗜 ⚖️ 📄 (⏮️ 🗄, 🏧 🛠️ 👩‍💻 🔢) FastAPI.

👐 🙆 🎏 🔢 📣 🛎 (🖼, 💪 ⏮️ Pydantic 🏷) 🔜 ✔, 🗜, ✍, ️.

📤 🎯 💼 🌐 ️ ⚠ 🤚 Request 🎚.

⚙️ Request 🎚 🔗

➡️ 🌈 👆 💚 🤚 👩‍💻 📢 📢/🦠 🔘 👆 🛠️ 🔢.

👈 👆 💪 🔐 📨 🔗.

{* ../../docs_src/using_request_directly/tutorial001.py hl[1,7:8] *}

📣 🛠️ 🔢 🔢 ⏮️ 🆎 Request FastAPI 🔜 💭 🚶‍♀️ Request 👈 🔢.

/// tip

🗒 👈 👉 💼, 👥 📣🔢 ⤴️ 📨 🔢.

, ➡ 🔢 🔜 ⚗, ✔, 🗜 ✔ 🆎 & ✍ ⏮️ 🗄.

🎏 🌌, 👆 💪 📣 🙆 🎏 🔢 🛎, & ➡, 🤚 Request 💁‍♂️.

///

Request 🧾

👆 💪🌅🔃 Request 🎚 🛂 💃 🧾 🕸.

/// note | 📡

👆 💪 ⚙️ from starlette.requests import Request.

FastAPI 🚚 🔗 🏪 👆, 👩‍💻. 👟 🔗 ➡️ 💃.

///