Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for methods (0.17 sec)

  1. docs/en/docs/advanced/generate-clients.md

    But I'll show you how to improve that next. ๐Ÿค“
    
    ## Custom Operation IDs and Better Method Names
    
    You can **modify** the way these operation IDs are **generated** to make them simpler and have **simpler method names** in the clients.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/first-steps.md

    "Operation" here refers to one of the HTTP "methods".
    
    One of:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...and the more exotic ones:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    In the HTTP protocol, you can communicate to each path using one (or more) of these "methods".
    
    ---
    
    When building APIs, you normally use these specific HTTP methods to perform a specific action.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body-updates.md

    # ่ฏทๆฑ‚ไฝ“ - ๆ›ดๆ–ฐๆ•ฐๆฎ
    
    ## ็”จ `PUT` ๆ›ดๆ–ฐๆ•ฐๆฎ
    
    ๆ›ดๆ–ฐๆ•ฐๆฎ่ฏท็”จ <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> ๆ“ไฝœใ€‚
    
    ๆŠŠ่พ“ๅ…ฅๆ•ฐๆฎ่ฝฌๆขไธบไปฅ JSON ๆ ผๅผๅญ˜ๅ‚จ็š„ๆ•ฐๆฎ๏ผˆๆฏ”ๅฆ‚๏ผŒไฝฟ็”จ NoSQL ๆ•ฐๆฎๅบ“ๆ—ถ๏ผ‰๏ผŒๅฏไปฅไฝฟ็”จ `jsonable_encoder`ใ€‚ไพ‹ๅฆ‚๏ผŒๆŠŠ `datetime` ่ฝฌๆขไธบ `str`ใ€‚
    
    ```Python hl_lines="30-35"
    {!../../../docs_src/body_updates/tutorial001.py!}
    ```
    
    `PUT` ็”จไบŽๆŽฅๆ”ถๆ›ฟๆข็Žฐๆœ‰ๆ•ฐๆฎ็š„ๆ•ฐๆฎใ€‚
    
    ### ๅ…ณไบŽๆ›ดๆ–ฐๆ•ฐๆฎ็š„่ญฆๅ‘Š
    
    ็”จ `PUT` ๆŠŠๆ•ฐๆฎ้กน `bar` ๆ›ดๆ–ฐไธบไปฅไธ‹ๅ†…ๅฎนๆ—ถ๏ผš
    
    ```Python
    {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. fastapi/utils.py

        operation_id = f"{operation_id}_{method.lower()}"
        return operation_id
    
    
    def generate_unique_id(route: "APIRoute") -> str:
        operation_id = f"{route.name}{route.path_format}"
        operation_id = re.sub(r"\W", "_", operation_id)
        assert route.methods
        operation_id = f"{operation_id}_{list(route.methods)[0].lower()}"
        return operation_id
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/request-forms.md

        ใ—ใ‹ใ—ใ€ใƒ•ใ‚ฉใƒผใƒ ใŒใƒ•ใ‚กใ‚คใƒซใ‚’ๅซใ‚€ๅ ดๅˆใฏใ€`multipart/form-data`ใจใ—ใฆใ‚จใƒณใ‚ณใƒผใƒ‰ใ•ใ‚Œใพใ™ใ€‚ใƒ•ใ‚กใ‚คใƒซใฎๆ‰ฑใ„ใซใคใ„ใฆใฏๆฌกใฎ็ซ ใง่ชฌๆ˜Žใ—ใพใ™ใ€‚
    
        ใ“ใ‚Œใ‚‰ใฎใ‚จใƒณใ‚ณใƒผใƒ‡ใ‚ฃใƒณใ‚ฐใ‚„ใƒ•ใ‚ฉใƒผใƒ ใƒ•ใ‚ฃใƒผใƒซใƒ‰ใฎ่ฉณ็ดฐใซใคใ„ใฆใฏใ€<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr>ใฎ<code>POST</code></a>ใฎใ‚ฆใ‚งใƒ–ใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆใ‚’ๅ‚็…งใ—ใฆใใ ใ•ใ„ใ€‚
    
    !!! warning "ๆณจๆ„"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/cors.md

    * `allow_origin_regex` - ๊ต์ฐจ-์ถœ์ฒ˜ ์š”์ฒญ์„ ๋ณด๋‚ผ ์ˆ˜ ์žˆ๋Š” ์ถœ์ฒ˜๋ฅผ ์ •๊ทœํ‘œํ˜„์‹ ๋ฌธ์ž์—ด๋กœ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค.  `'https://.*\.example\.org'`.
    * `allow_methods` - ๊ต์ฐจ-์ถœ์ฒ˜ ์š”์ฒญ์„ ํ—ˆ์šฉํ•˜๋Š” HTTP ๋ฉ”์†Œ๋“œ์˜ ๋ฆฌ์ŠคํŠธ์ž…๋‹ˆ๋‹ค. ๊ธฐ๋ณธ๊ฐ’์€ `['GET']` ์ž…๋‹ˆ๋‹ค. `['*']` ์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ชจ๋“  ํ‘œ์ค€ ๋ฉ”์†Œ๋“œ๋“ค์„ ํ—ˆ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 07 14:21:23 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/request-forms.md

    !!! note "ๆŠ€ๆœฏ็ป†่Š‚"
    
        ่กจๅ•ๆ•ฐๆฎ็š„ใ€Œๅช’ไฝ“็ฑปๅž‹ใ€็ผ–็ ไธ€่ˆฌไธบ `application/x-www-form-urlencoded`ใ€‚
    
        ไฝ†ๅŒ…ๅซๆ–‡ไปถ็š„่กจๅ•็ผ–็ ไธบ `multipart/form-data`ใ€‚ๆ–‡ไปถๅค„็†่ฏฆ่งไธ‹่Š‚ใ€‚
    
        ็ผ–็ ๅ’Œ่กจๅ•ๅญ—ๆฎต่ฏฆ่ง <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> Web ๆ–‡ๆกฃ็š„ <code>POST</code></a>ๅฐ่Š‚ใ€‚
    
    !!! warning "่ญฆๅ‘Š"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/request-files.md

        โœ‹๏ธ ๐Ÿ•โ” ๐Ÿ“จ ๐Ÿ”Œ ๐Ÿ“, โšซ๏ธ ๐Ÿ—œ `multipart/form-data`. ๐Ÿšฅ ๐Ÿ‘† โš™๏ธ `File`, **FastAPI** ๐Ÿ”œ ๐Ÿ’ญ โšซ๏ธ โœ”๏ธ ๐Ÿคš ๐Ÿ“ โšช๏ธโžก๏ธ โ˜‘ ๐Ÿ• ๐Ÿ’ช.
    
        ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ’š โœ ๐ŸŒ– ๐Ÿ”ƒ ๐Ÿ‘‰ ๐Ÿ”ข &amp; ๐Ÿ“จ ๐Ÿ‘, ๐Ÿ‘ณ <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">๐Ÿ‡</abbr> ๐Ÿ•ธ ๐Ÿฉบ <code>POST</code></a>.
    
    !!! warning
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/request-files.md

        ํ•˜์ง€๋งŒ ํŒŒ์ผ์ด ํฌํ•จ๋œ ๊ฒฝ์šฐ, `multipart/form-data`๋กœ ์ธ์ฝ”๋”ฉ๋ฉ๋‹ˆ๋‹ค. `File`์„ ์‚ฌ์šฉํ•˜์˜€๋‹ค๋ฉด, **FastAPI**๋Š” ๋ณธ๋ฌธ์˜ ์ ํ•ฉํ•œ ๋ถ€๋ถ„์—์„œ ํŒŒ์ผ์„ ๊ฐ€์ ธ์™€์•ผ ํ•œ๋‹ค๋Š” ๊ฒƒ์„ ์ธ์ง€ํ•ฉ๋‹ˆ๋‹ค.
    
        ์ธ์ฝ”๋”ฉ๊ณผ ํผ ํ•„๋“œ์— ๋Œ€ํ•ด ๋” ์•Œ๊ณ ์‹ถ๋‹ค๋ฉด, <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><code>POST</code>์— ๊ด€ํ•œ<abbr title="Mozilla Developer Network">MDN</abbr>์›น ๋ฌธ์„œ</a> ๋ฅผ ์ฐธ๊ณ ํ•˜๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค,.
    
    !!! warning "๊ฒฝ๊ณ "
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  10. docs/it/docs/index.md

    ```
    
    Hai appena creato un'API che:
    
    * Riceve richieste HTTP sui _paths_ `/` and `/items/{item_id}`.
    * Entrambi i _paths_ accettano`GET` operations (conosciuti anche come <abbr title="metodi HTTP">HTTP _methods_</abbr>).
    * Il _path_ `/items/{item_id}` ha un _path parameter_ `item_id` che deve essere un `int`.
    * Il _path_ `/items/{item_id}` ha una `str` _query parameter_ `q`.
    
    ### Documentazione interattiva dell'API
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top