Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for redirect_pydantic (0.41 seconds)

  1. docs_src/custom_response/tutorial006c_py310.py

    from fastapi import FastAPI
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/pydantic", response_class=RedirectResponse, status_code=302)
    async def redirect_pydantic():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 237 bytes
    - Click Count (0)
Back to Top