- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Angular (0.26 sec)
-
docs/pt/docs/tutorial/body-multiple-params.md
Por exemplo, extendendo o modelo anterior, você poder decidir por ter uma outra chave `importance` no mesmo corpo, além de `item` e `user`. Se você declará-lo como é, porque é um valor singular, o **FastAPI** assumirá que se trata de um parâmetro de consulta. Mas você pode instruir o **FastAPI** para tratá-lo como outra chave do corpo usando `Body`: === "Python 3.8+" ```Python hl_lines="22"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
## Singular values in body The same way there is a `Query` and `Path` to define extra data for query and path parameters, **FastAPI** provides an equivalent `Body`. For example, extending the previous model, you could decide that you want to have another key `importance` in the same body, besides the `item` and `user`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 7.7K bytes - Viewed (0)