Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Epost (0.51 sec)

  1. fastapi/applications.py

            """
            Add a *path operation* using an HTTP POST operation.
    
            ## Example
    
            ```python
            from fastapi import FastAPI
            from pydantic import BaseModel
    
            class Item(BaseModel):
                name: str
                description: str | None = None
    
            app = FastAPI()
    
            @app.post("/items/")
            def create_item(item: Item):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  2. fastapi/routing.py

                    from Starlette and supported for compatibility.
    
                    In FastAPI, you normally would use the *path operation methods*,
                    like `router.get()`, `router.post()`, etc.
                    """
                ),
            ] = None,
            redirect_slashes: Annotated[
                bool,
                Doc(
                    """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top