Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for url (0.15 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build(),
        )
        val url = server.url("/")
        assertThat(get(url).body.string()).isEqualTo("A")
        val request =
          Request.Builder()
            .url(url)
            .method("POST", requestBodyOrNull("POST"))
            .build()
        val invalidate = client.newCall(request).execute()
        assertThat(invalidate.body.string()).isEqualTo("B")
        assertThat(get(url).body.string()).isEqualTo("C")
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/metadata.md

    * **Swagger UI**: served at `/docs`.
        * You can set its URL with the parameter `docs_url`.
        * You can disable it by setting `docs_url=None`.
    * **ReDoc**: served at `/redoc`.
        * You can set its URL with the parameter `redoc_url`.
        * You can disable it by setting `redoc_url=None`.
    
    For example, to set Swagger UI to be served at `/documentation` and disable ReDoc:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/custom-docs-ui-assets.md

    * `openapi_url`: die URL, unter welcher die HTML-Seite für die Dokumentation das OpenAPI-Schema für Ihre API abrufen kann. Sie können hier das Attribut `app.openapi_url` verwenden.
    * `title`: der Titel Ihrer API.
    * `oauth2_redirect_url`: Sie können hier `app.swagger_ui_oauth2_redirect_url` verwenden, um die Standardeinstellung zu verwenden.
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:36 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/templates.md

    ```html
    Item ID: 42
    ```
    
    ### Argumentos do `url_for`
    
    Você também pode usar `url_for()` dentro do template, ele recebe como argumentos os mesmos argumentos que seriam usados pela sua *path operation function*.
    
    Logo, a seção com:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Mar 28 04:05:17 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. docs/ru/docs/fastapi-people.md

    ### Золотые спонсоры
    
    {% for sponsor in sponsors.gold -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor %}
    {% endif %}
    
    {% if sponsors.silver %}
    
    ### Серебрянные спонсоры
    
    {% for sponsor in sponsors.silver -%}
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. docs/en/docs/reference/websockets.md

    ::: fastapi.WebSocket
        options:
            members:
                - scope
                - app
                - url
                - base_url
                - headers
                - query_params
                - path_params
                - cookies
                - client
                - state
                - url_for
                - client_state
                - application_state
                - receive
                - send
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/behind-a-proxy.md

    ```JSON hl_lines="5-7"
    {
        "openapi": "3.1.0",
        // Hier mehr Einstellungen
        "servers": [
            {
                "url": "/api/v1"
            },
            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:07 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/extending-openapi.md

    第一步是禁用 API 文档,就是使用 CDN 的默认文档。
    
    创建 `FastAPI` 应用时把文档的 URL 设置为 `None` 即可禁用默认文档:
    
    ```Python hl_lines="9"
    {!../../../docs_src/extending_openapi/tutorial002.py!}
    ```
    
    ### 添加自定义文档
    
    现在,创建自定义文档的*路径操作*。
    
    导入 FastAPI 内部函数为文档创建 HTML 页面,并把所需参数传递给这些函数:
    
    * `openapi_url`: API 文档获取 OpenAPI 概图的 HTML 页面,此处可使用 `app.openapi_url`
    * `title`:API 的标题
    * `oauth2_redirect_url`:此处使用 `app.swagger_ui_oauth2_redirect_url` 作为默认值
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/query-params.md

    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    クエリはURL内で `?` の後に続くキーとバリューの組で、 `&` で区切られています。
    
    例えば、以下の様なURL内で:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...クエリパラメータは:
    
    * `skip`: 値は `0`
    * `limit`: 値は `10`
    
    これらはURLの一部なので、「自然に」文字列になります。
    
    しかしPythonの型を宣言すると (上記の例では `int` として)、その型に変換されバリデーションが行われます。
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/ja/docs/fastapi-people.md

    ### Gold Sponsors
    
    {% for sponsor in sponsors.gold -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor %}
    {% endif %}
    
    {% if sponsors.silver %}
    
    ### Silver Sponsors
    
    {% for sponsor in sponsors.silver -%}
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top