Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 962 for jsconf (0.04 sec)

  1. docs/de/docs/advanced/openapi-callbacks.md

    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    mit einem JSON-Body, der etwa Folgendes enthält:
    
    ```JSON
    {
        "description": "Payment celebration",
        "paid": true
    }
    ```
    
    und sie würde eine Response von dieser *externen API* mit einem JSON-Body wie dem folgenden erwarten:
    
    ```JSON
    {
        "ok": true
    }
    ```
    
    /// tip | Tipp
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/simple-oauth2.md

    /// tip
    
    In the next chapter, you will see a real secure implementation, with password hashing and <abbr title="JSON Web Tokens">JWT</abbr> tokens.
    
    But for now, let's focus on the specific details we need.
    
    ///
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *}
    
    /// tip
    
    By the spec, you should return a JSON with an `access_token` and a `token_type`, the same as in this example.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/body-multiple-params.md

    ///
    
    ## Декілька параметрів тіла запиту
    
    У попередньому прикладі *операція шляху* очікувала JSON з атрибутами `Item`, наприклад:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    Але Ви також можете оголосити декілька параметрів тіла, наприклад `item` та `user`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:19:00 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/behind-a-proxy.md

    Então, o frontend (que roda no navegador) tentaria acessar `/openapi.json` e não conseguiria obter o OpenAPI schema.
    
    Como temos um proxy com um prefixo de caminho de `/api/v1` para nossa aplicação, o frontend precisa buscar o OpenAPI schema em `/api/v1/openapi.json`.
    
    ```mermaid
    graph LR
    
    browser("Browser")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/custom-response.md

    standardmäßig jedes enthaltene Element überprüft und sicherstellt, dass es als JSON serialisierbar ist, und zwar unter Verwendung desselben [JSON-kompatiblen Encoders](../tutorial/encoder.md){.internal-link target=_blank}, der im Tutorial erläutert wurde. Dadurch können Sie **beliebige Objekte** zurückgeben, zum Beispiel Datenbankmodelle.
    
    Wenn Sie jedoch sicher sind, dass der von Ihnen zurückgegebene Inhalt **mit JSON serialisierbar** ist, können Sie ihn direkt an die Response-Klasse übergeben...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/guide/PostExample.java

    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public class PostExample {
      public static final MediaType JSON = MediaType.get("application/json; charset=utf-8");
    
      final OkHttpClient client = new OkHttpClient();
    
      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
        Request request = new Request.Builder()
            .url(url)
            .post(body)
            .build();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    	NewerThan     time.Duration `yaml:"newerThan,omitempty" json:"newerThan"`
    	OlderThan     time.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedAfter  time.Time     `yaml:"createdAfter,omitempty" json:"createdAfter"`
    	CreatedBefore time.Time     `yaml:"createdBefore,omitempty" json:"createdBefore"`
    	Tags          []BatchJobKV  `yaml:"tags,omitempty" json:"tags"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-nested-models.md

    A string será verificada para se tornar uma URL válida e documentada no esquema JSON/1OpenAPI como tal.
    
    ## Atributos como listas de submodelos
    
    Você também pode usar modelos Pydantic como subtipos de `list`, `set`, etc:
    
    {* ../../docs_src/body_nested_models/tutorial006.py hl[20] *}
    
    Isso vai esperar(converter, validar, documentar, etc) um corpo JSON tal qual:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/body-multiple-params.md

    ///
    
    ## Múltiples parámetros del cuerpo
    
    En el ejemplo anterior, las *path operations* esperarían un cuerpo JSON con los atributos de un `Item`, como:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/custom-response.md

    because by default, FastAPI will inspect every item inside and make sure it is serializable as JSON, using the same [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank} explained in the tutorial. This is what allows you to return **arbitrary objects**, for example database models.
    
    But if you are certain that the content that you are returning is **serializable with JSON**, you can pass it directly to the response class and avoid the extra overhead that FastAPI would...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top