Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for url (0.25 sec)

  1. docs/ko/docs/tutorial/query-params-str-validations.md

    예를 들어, URL에서 여러번 나오는  `q` 쿼리 매개변수를 선언하려면 다음과 같이 작성할 수 있습니다:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    아래와 같은 URL을 사용합니다:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    여러 `q` *쿼리 매개변수* 값들을 (`foo` 및 `bar`) 파이썬 `list`로 *경로 작동 함수* 내 *함수 매개변수* `q`로 전달 받습니다.
    
    따라서 해당 URL에 대한 응답은 다음과 같습니다:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    Then, with a URL like:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    you would receive the multiple `q` *query parameters'* values (`foo` and `bar`) in a Python `list` inside your *path operation function*, in the *function parameter* `q`.
    
    So, the response to that URL would be:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/query-params-str-validations.md

    Par exemple, pour déclarer un paramètre de requête `q` qui peut apparaître plusieurs fois dans une URL, on écrit :
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    Ce qui fait qu'avec une URL comme :
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/query-params-str-validations.md

    例えば、URL内に複数回出現するクエリパラメータ`q`を宣言するには以下のように書きます:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    そしてURLは以下です:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    複数の*クエリパラメータ*の値`q`(`foo`と`bar`)を*path operation関数*内で*関数パラメータ*`q`としてPythonの`list`を受け取ることになります。
    
    そのため、このURLのレスポンスは以下のようになります:
    
    ```JSON
    {
      "q": [
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 10.5K bytes
    - Viewed (1)
  5. docs/zh/docs/tutorial/query-params-str-validations.md

    当你使用 `Query` 显式地定义查询参数时,你还可以声明它去接收一组值,或换句话来说,接收多个值。
    
    例如,要声明一个可在 URL 中出现多次的查询参数 `q`,你可以这样写:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    然后,输入如下网址:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    你会在*路径操作函数*的*函数参数* `q` 中以一个 Python `list` 的形式接收到*查询参数* `q` 的多个值(`foo` 和 `bar`)。
    
    因此,该 URL 的响应将会是:
    
    ```JSON
    {
      "q": [
        "foo",
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/query-params-str-validations.md

    Por exemplo, para declarar que o parâmetro `q` pode aparecer diversas vezes na URL, você escreveria:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    Então, com uma URL assim:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/query-params-str-validations.md

        ```
    
    Затем, получив такой URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    вы бы получили несколько значений (`foo` и `bar`), которые относятся к параметру `q`, в виде Python `list` внутри вашей *функции обработки пути*, в *параметре функции* `q`.
    
    Таким образом, ответ на этот URL будет:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/query-params-str-validations.md

        ```
    
    Dann, mit einer URL wie:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    bekommen Sie alle `q`-*Query-Parameter*-Werte (`foo` und `bar`) in einer Python-Liste – `list` – in ihrer *Pfadoperation-Funktion*, im Funktionsparameter `q`, überreicht.
    
    Die Response für diese URL wäre also:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
Back to top