Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,461 for Code (0.02 sec)

  1. docs/pt/docs/tutorial/response-status-code.md

    # Código de status de resposta { #response-status-code }
    
    Da mesma forma que você pode especificar um modelo de resposta, você também pode declarar o código de status HTTP usado para a resposta com o parâmetro `status_code` em qualquer uma das *operações de rota*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/response-status-code.md

    # Response-Statuscode { #response-status-code }
    
    Genauso wie Sie ein Responsemodell angeben können, können Sie auch den HTTP-Statuscode für die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> mit dem Parameter `status_code` in jeder der *Pfadoperationen* deklarieren:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * usw.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/response-status-code.md

    # Статус-код ответа { #response-status-code }
    
    Подобно тому, как вы можете задать модель/схему ответа, вы можете объявить HTTP статус-код, используемый для ответа, с помощью параметра `status_code` в любой из *операций пути*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * и других.
    
    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    /// note | Примечание
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/response-status-code.md

    # Código de Estado del Response { #response-status-code }
    
    De la misma manera que puedes especificar un modelo de response, también puedes declarar el código de estado HTTP usado para el response con el parámetro `status_code` en cualquiera de las *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/response-status-code.md

    <img src="https://fastapi.tiangolo.com/img/tutorial/response-status-code/image02.png">
    
    /// note | 技術詳細
    
    また、`from starlette import status`を使うこともできます。
    
    **FastAPI** は、`開発者の利便性を考慮して、fastapi.status`と同じ`starlette.status`を提供しています。しかし、これはStarletteから直接提供されています。
    
    ///
    
    ## デフォルトの変更
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/response-status-code.md

    ///
    
    Він буде:
    
    * Повертати вказаний код статусу у відповіді.
    * Документувати його як такий у схемі OpenAPI (і, таким чином, в інтерфейсі користувача):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | Нотатка
    
    Деякі коди відповіді (див. наступний розділ) вказують, що відповідь не має тіла.
    
    FastAPI знає про це і створить OpenAPI документацію, яка вказує, що тіла відповіді немає.
    
    ///
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Mar 19 17:04:17 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-status-code.md

    # Response Status Code { #response-status-code }
    
    The same way you can specify a response model, you can also declare the HTTP status code used for the response with the parameter `status_code` in any of the *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    /// note
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/response-status-code.md

    这只是一种快捷方式,具有相同的数字代码,但它可以使用编辑器的自动补全功能:
    
    <img src="../../../../../../img/tutorial/response-status-code/image02.png">
    
    /// note | 技术细节
    
    也可以使用 `from starlette import status`。
    
    为了让开发者更方便,**FastAPI** 提供了与 `starlette.status` 完全相同的 `fastapi.status`。但它直接来自于 Starlette。
    
    ///
    
    ## 更改默认状态码
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/response-status-code.md

    /// note | 기술적 세부사항
    
    `from starlette import status` 역시 사용할 수 있습니다.
    
    **FastAPI**는 개발자인 여러분의 편의를 위해 `fastapi.status` 와 동일한 `starlette.status` 도 제공합니다. 하지만 이것은 Starlette로부터 직접 제공됩니다.
    
    ///
    
    ## 기본값 변경
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/authentication-error-status-code.md

    Before FastAPI version `0.122.0`, when the integrated security utilities returned an error to the client after a failed authentication, they used the HTTP status code `403 Forbidden`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top