Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,396 for json (0.02 seconds)

  1. fastapi/routing.py

                                    if subtype == "json" or subtype.endswith("+json"):
                                        json_body = await request.json()
                            if json_body != Undefined:
                                body = json_body
                            else:
                                body = body_bytes
            except json.JSONDecodeError as e:
                validation_error = RequestValidationError(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/metadata.md

    ## URL da OpenAPI { #openapi-url }
    
    Por padrão, o esquema OpenAPI é servido em `/openapi.json`.
    
    Mas você pode configurá-lo com o parâmetro `openapi_url`.
    
    Por exemplo, para defini-lo para ser servido em `/api/v1/openapi.json`:
    
    {* ../../docs_src/metadata/tutorial002_py39.py hl[3] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/security/oauth2-jwt.md

    # 패스워드 해싱을 이용한 OAuth2, JWT 토큰을 사용하는 Bearer 인증
    
    모든 보안 흐름을 구성했으므로, 이제 <abbr title="JSON Web Tokens">JWT</abbr> 토큰과 패스워드 해싱을 사용해 애플리케이션을 안전하게 만들 것입니다.
    
    이 코드는 실제로 애플리케이션에서 패스워드를 해싱하여 DB에 저장하는 등의 작업에 활용할 수 있습니다.
    
    이전 장에 이어서 시작해 봅시다.
    
    ## JWT
    
    JWT 는 "JSON Web Tokens" 을 의미합니다.
    
    JSON 객체를 공백이 없는 긴 문자열로 인코딩하는 표준이며, 다음과 같은 형태입니다:
    
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/path-params.md

    `ModelName.lenet.value`로도 값 `"lenet"`에 접근할 수 있습니다.
    
    ///
    
    #### *열거형 멤버* 반환
    
    *경로 작동*에서 *열거형 멤버*를 반환할 수 있습니다. 이는 중첩 JSON 본문(예: `dict`)내의 값으로도 가능합니다.
    
    클라이언트에 반환하기 전에 해당 값(이 경우 문자열)으로 변환됩니다:
    
    {* ../../docs_src/path_params/tutorial005.py hl[18,21,23] *}
    
    클라이언트는 아래의 JSON 응답을 얻습니다:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## 경로를 포함하는 경로 매개변수
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_response_cookies/test_tutorial001.py

    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.post("/cookie/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Come to the dark side, we have cookies"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 408 bytes
    - Click Count (0)
  6. tests/test_tutorial/test_response_cookies/test_tutorial002.py

    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.post("/cookie-and-object/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Come to the dark side, we have cookies"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 419 bytes
    - Click Count (0)
  7. .github/ISSUE_TEMPLATE/03-gopls.yml

          required: true
      - type: textarea
        id: editor-and-settings
        attributes:
          label: "Editor and settings"
          description: "Your editor and any settings you have configured (for example, your VSCode settings.json file)"
        validations:
          required: false
      - type: textarea
        id: logs
        attributes:
          label: "Logs"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri May 24 17:09:04 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_wsgi/test_tutorial001.py

        assert response.text == "Hello, World from Flask!"
    
    
    def test_app():
        response = client.get("/v2")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 441 bytes
    - Click Count (1)
  9. docs/es/docs/tutorial/query-params.md

    ...los parámetros de query son:
    
    * `skip`: con un valor de `0`
    * `limit`: con un valor de `10`
    
    Como son parte de la URL, son "naturalmente" strings.
    
    Pero cuando los declaras con tipos de Python (en el ejemplo anterior, como `int`), son convertidos a ese tipo y validados respecto a él.
    
    Todo el mismo proceso que se aplica para los parámetros de path también se aplica para los parámetros de query:
    
    * Soporte del editor (obviamente)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/body-fields.md

    ///
    
    ## Adicione informações extras { #add-extra-information }
    
    Você pode declarar informação extra em `Field`, `Query`, `Body`, etc. E isso será incluído no JSON Schema gerado.
    
    Você irá aprender mais sobre adicionar informações extras posteriormente nessa documentação, quando estiver aprendendo a declarar exemplos.
    
    /// warning | Atenção
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top