Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for spotify (0.14 sec)

  1. docs/en/docs/tutorial/cors.md

    So, for everything to work correctly, it's better to specify explicitly the allowed origins.
    
    ## Use `CORSMiddleware`
    
    You can configure it in your **FastAPI** application using the `CORSMiddleware`.
    
    * Import `CORSMiddleware`.
    * Create a list of allowed origins (as strings).
    * Add it as a "middleware" to your **FastAPI** application.
    
    You can also specify if your backend allows:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Nov 13 20:28:37 GMT 2022
    - 5.1K bytes
    - Viewed (0)
Back to top