Тёмный

Fast API Tutorial, Part 4: Request Body 

JVP Design
Подписаться 2,9 тыс.
Просмотров 27 тыс.
50% 1

Another important part of sending requests to a REST API pertains to sending data back to the server.
We've seen previously that this can be done via query parameters, but when sending large quantities of data, or when sending sensitive information that you don't want to have displayed as part of the URL then you could send data as part of a POST, PATCH, or PUT request as request body. We discuss this information in this video.
GitHub: github.com/jvp...

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@ahmedsalahel-din1311
@ahmedsalahel-din1311 15 дней назад
Thank you for the helpful video Kindly notice that dict() method is deprecated, use model_dump() instead Example: item_dict = item.model_dump()
@Mahmoud-ys1kt
@Mahmoud-ys1kt 8 месяцев назад
Really thank you for the better view, now the writing is much clearer
@pedrobrunolourenco6984
@pedrobrunolourenco6984 5 месяцев назад
i am from Brazil, and my english is not good enogth, but, i can undertand perfectly your classes, you are helping me a lot, including to improve my english, so i am very gratfull, thank you so much
@807anusha
@807anusha Месяц назад
In recent versions of Pydantic (which FastAPI uses for data validation and serialization), the dict() method of the BaseModel class has been deprecated. Instead use: item_dict = item.model_dump()
@philipwong8388
@philipwong8388 Год назад
Really enjoy the structure you put forward for this tutorial! keep it up, I trust you have inspired many people, including me.
@GAMINGLOVER-nu3rg
@GAMINGLOVER-nu3rg 4 месяца назад
Nice, Dear How did you setup pyCharm configuration?
@habeebbabasulaiman7214
@habeebbabasulaiman7214 2 месяца назад
Thanks with this hight contrast Im the oine struggling eith rhe vision snd im implementing every single word of code you're writing
@axelbaher594
@axelbaher594 7 месяцев назад
How did you setup pyCharm configuration?
@rickhoro
@rickhoro 6 месяцев назад
Great videos so far. Thank you. and thanks for the high contrast!
@MegaClockworkDoc
@MegaClockworkDoc Год назад
Great videos. I like the way that you teach.
@MasterDomai
@MasterDomai Год назад
great work dude
@AnandMohan-r4d
@AnandMohan-r4d 8 месяцев назад
item.dict() is depreciated. what should I do?
@JVPDesign
@JVPDesign 8 месяцев назад
Looks like the new method is "model_dump" jvp.sh/oGCeU97Q
@arvabalazs7221
@arvabalazs7221 7 месяцев назад
dict(item) works
@arvabalazs7221
@arvabalazs7221 7 месяцев назад
item_dict = dict(item) if item.tax: price_with_tax = item.price + item.tax item_dict['price_with_tax'] = price_with_tax return item_dict
@zohidilloturgunov7337
@zohidilloturgunov7337 Год назад
👍
@TestChannel-yi8de
@TestChannel-yi8de Год назад
👍👍👍👍
@Kimanxo
@Kimanxo Год назад
No offense bro , but this is just an audio book of the official documentation, not a single custom example. If you really care about making quality content , you should be more innovative !
@ishmaelsarpongasiedu6727
@ishmaelsarpongasiedu6727 Год назад
then its a great audio book. i love it
Далее
Fast API Tutorial, Part 3: Query Parameters
14:10
Просмотров 29 тыс.
Как открыть багажник?
00:36
Просмотров 12 тыс.
ОБЗОР НА ШТАНЫ от БЕЗДNA
00:59
Просмотров 380 тыс.
Bearwolf - GODZILLA Пародия Beatrise
00:33
Просмотров 333 тыс.
FastAPI Course for Beginners
1:04:33
Просмотров 329 тыс.
Fast API Tutorial, Part 9: Body - Nested Models
19:34
Fast API Tutorial, Part 1: Introduction
13:00
Просмотров 141 тыс.
Fast API Tutorial, Part 19: Handling Errors
25:29
Просмотров 10 тыс.
Python FAST API Tutorial
58:20
Просмотров 334 тыс.
Fast API Tutorial, Part 8: Body - Field
5:54
Просмотров 8 тыс.
How to build a FastAPI app with PostgreSQL
27:37
Просмотров 50 тыс.
Как открыть багажник?
00:36
Просмотров 12 тыс.