Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Get (0.11 sec)

  1. docs/pt/docs/tutorial/first-steps.md

    * **rota**: é `/`.
    * **operação**: é `get`.
    * **função**: é a função abaixo do "decorador" (abaixo do `@app.get("/")`).
    
    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Esta é uma função Python.
    
    Ela será chamada pelo **FastAPI** sempre que receber uma requisição para a URL "`/ `" usando uma operação `GET`.
    
    Neste caso, é uma função `assíncrona`.
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/first-steps.md

    우리 역시 이제부터 메소드를 "**작동**"이라고 부를 것입니다.
    
    #### *경로 작동 데코레이터* 정의
    
    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `@app.get("/")`은 **FastAPI**에게 바로 아래에 있는 함수가 다음으로 이동하는 요청을 처리한다는 것을 알려줍니다.
    
    * 경로 `/`
    * <abbr title="HTTP GET 메소드"><code>get</code> 작동</abbr> 사용
    
    !!! info "`@decorator` 정보"
        이 `@something` 문법은 파이썬에서 "데코레이터"라 부릅니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/first-steps.md

    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Le `@app.get("/")` dit à **FastAPI** que la fonction en dessous est chargée de gérer les requêtes qui vont sur :
    
    * le chemin `/`
    * en utilisant une <abbr title="une méthode GET HTTP">opération <code>get</code></abbr>
    
    !!! info "`@décorateur` Info"
        Cette syntaxe `@something` en Python est appelée un "décorateur".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  4. docs/tr/docs/tutorial/first-steps.md

    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `@app.get("/")` dekoratörü, **FastAPI**'a hemen altındaki fonksiyonun aşağıdaki durumlardan sorumlu olduğunu söyler:
    
    * <abbr title="Bir HTTP GET metodu"><code>get</code> operasyonu</abbr> ile
    * `/` yoluna gelen istekler
    
    !!! info "`@decorator` Bilgisi"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Feb 08 13:10:55 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/first-steps.md

    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    El `@app.get("/")` le dice a **FastAPI** que la función que tiene justo debajo está a cargo de manejar los requests que van a:
    
    * el path `/`
    * usando una <abbr title="an HTTP GET method">operación <code>get</code></abbr>
    
    !!! info "Información sobre `@decorator`"
        Esa sintaxis `@algo` se llama un "decorador" en Python.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/first-steps.md

    ```
    
    `@app.get("/")` 告诉 **FastAPI** 在它下方的函数负责处理如下访问请求:
    
    * 请求路径为 `/`
    * 使用 <abbr title="HTTP GET 方法"><code>get</code> 操作</abbr>
    
    !!! info "`@decorator` Info"
        `@something` 语法在 Python 中被称为「装饰器」。
    
        像一顶漂亮的装饰帽一样,将它放在一个函数的上方(我猜测这个术语的命名就是这么来的)。
    
        装饰器接收位于其下方的函数并且用它完成一些工作。
    
        在我们的例子中,这个装饰器告诉 **FastAPI** 位于其下方的函数对应着**路径** `/` 加上 `get` **操作**。
    
        它是一个「**路径操作装饰器**」。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/first-steps.md

    <img src="/img/tutorial/security/image02.png">
    
    !!! note
        It doesn't matter what you type in the form, it won't work yet. But we'll get there.
    
    This is of course not the frontend for the final users, but it's a great automatic tool to document interactively all your API.
    
    It can be used by the frontend team (that can also be yourself).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. docs/pl/docs/tutorial/first-steps.md

    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `@app.get("/")` mówi **FastAPI** że funkcja poniżej odpowiada za obsługę żądań, które trafiają do:
    
    * ścieżki `/`
    * używając <abbr title="metoda HTTP GET">operacji <code>get</code></abbr>
    
    !!! info "`@decorator` Info"
        Składnia `@something` jest w Pythonie nazywana "dekoratorem".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. docs/vi/docs/tutorial/first-steps.md

    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `@app.get("/")` nói **FastAPI** rằng hàm bên dưới có trách nhiệm xử lí request tới:
    
    * đường dẫn `/`
    * sử dụng một <abbr title="an HTTP GET method">toán tử<code>get</code></abbr>
    
    !!! info Thông tin về "`@decorator`"
        Cú pháp `@something` trong Python được gọi là một "decorator".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/first-steps.md

    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Декоратор `@app.get("/")` указывает **FastAPI**, что функция, прямо под ним, отвечает за обработку запросов, поступающих по адресу:
    
    * путь `/`
    * использующих <abbr title="HTTP GET метод"><code>get</code> операцию</abbr>
    
    !!! info "`@decorator` Дополнительная информация"
        Синтаксис `@something` в Python называется "декоратор".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
Back to top