Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for WILL (0.17 sec)

  1. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="2  7"
    {!../../../docs_src/custom_response/tutorial001b.py!}
    ```
    
    !!! info
        The parameter `response_class` will also be used to define the "media type" of the response.
    
        In this case, the HTTP header `Content-Type` will be set to `application/json`.
    
        And it will be documented as such in OpenAPI.
    
    !!! tip
        The `ORJSONResponse` is currently only available in FastAPI, not in Starlette.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/openapi-callbacks.md

        * This will be done by sending a POST request (from *your API*) to some *external API* provided by that external developer (this is the "callback").
    
    ## The normal **FastAPI** app
    
    Let's first see how the normal API app would look like before adding the callback.
    
    It will have a *path operation* that will receive an `Invoice` body, and a query parameter `callback_url` that will contain the URL for the callback.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/en/docs/fastapi-cli.md

    ## `fastapi dev`
    
    When you run `fastapi dev`, it will run on development mode.
    
    By default, it will have **auto-reload** enabled, so it will automatically reload the server when you make changes to your code. This is resource intensive and could be less stable than without it, you should only use it for development.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/index.md

    The dependencies will keep working as expected, and the **best part** is that the **type information will be preserved**, which means that your editor will be able to keep providing you with **autocompletion**, **inline errors**, etc. The same for other tools like `mypy`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/websockets.md

    You will see a simple page like:
    
    <img src="/img/tutorial/websockets/image01.png">
    
    You can type messages in the input box, and send them:
    
    <img src="/img/tutorial/websockets/image02.png">
    
    And your **FastAPI** application with WebSockets will respond back:
    
    <img src="/img/tutorial/websockets/image03.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    **Note**: You can mix `def` and `async def` in your *path operation functions* as much as you need and define each one using the best option for you. FastAPI will do the right thing with them.
    
    Anyway, in any of the cases above, FastAPI will still work asynchronously and be extremely fast.
    
    But by following the steps above, it will be able to do some performance optimizations.
    
    ## Technical Details
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. cni/README.md

    ## Privileges required
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/openapi-webhooks.md

    This is normally called a **webhook**.
    
    ## Webhooks steps
    
    The process normally is that **you define** in your code what is the message that you will send, the **body of the request**.
    
    You also define in some way at which **moments** your app will send those requests or events.
    
    And **your users** define in some way (for example in a web dashboard somewhere) the **URL** where your app should send those requests.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    So, we create an additional dependency `get_current_active_user` that in turn uses `get_current_user` as a dependency.
    
    Both of these dependencies will just return an HTTP error if the user doesn't exist, or if is inactive.
    
    So, in our endpoint, we will only get a user if the user exists, was correctly authenticated, and is active:
    
    === "Python 3.10+"
    
        ```Python hl_lines="58-66  69-74  94"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. docs/en/docs/help-fastapi.md

    You can "star" FastAPI in GitHub (clicking the star button at the top right): <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">https://github.com/tiangolo/fastapi</a>. ⭐️
    
    By adding a star, other users will be able to find it more easily and see that it has been already useful for others.
    
    ## Watch the GitHub repository for releases
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
Back to top