- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Look (0.13 sec)
-
docs/en/docs/advanced/generate-clients.md
Because it is installed in the local project, you probably wouldn't be able to call that command directly, but you would put it on your `package.json` file. It could look like this: ```JSON hl_lines="7" { "name": "frontend-app", "version": "1.0.0", "description": "", "main": "index.js", "scripts": {
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) -
docs/en/docs/advanced/behind-a-proxy.md
In the docs UI at <a href="http://127.0.0.1:9999/api/v1/docs" class="external-link" target="_blank">http://127.0.0.1:9999/api/v1/docs</a> it would look like: <img src="/img/tutorial/behind-a-proxy/image03.png"> !!! tip The docs UI will interact with the server that you select. ### Disable automatic server from `root_path`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 11.6K bytes - Viewed (2) -
docs/en/docs/tutorial/first-steps.md
# First Steps The simplest FastAPI file could look like this: ```Python {!../../../docs_src/first_steps/tutorial001.py!} ``` Copy that to a file `main.py`. Run the live server: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u> <font color="#3465A4">INFO </font> Using path <font color="#3465A4">main.py</font>
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) -
docs/en/docs/contributing.md
#### Preview the result As already mentioned above, you can use the `./scripts/docs.py` with the `live` command to preview the results (or `mkdocs serve`). Once you are done, you can also test it all as it would look online, including all the other languages. To do that, first build all the docs: <div class="termy"> ```console // Use the command "build-all", this will take a bit $ python ./scripts/docs.py build-all
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 17:42:43 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/alternatives.md
The way you use it is very simple. For example, to do a `GET` request, you would write: ```Python response = requests.get("http://example.com/some/url") ``` The FastAPI counterpart API *path operation* could look like: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` See the similarities in `requests.get(...)` and `@app.get(...)`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
The idea is to automate the acquisition and renewal of these certificates so that you can have **secure HTTPS, for free, forever**. ## HTTPS for Developers Here's an example of how an HTTPS API could look like, step by step, paying attention mainly to the ideas important for developers. ### Domain Name
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 12K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
The section: ```Python from .routers import items, users ``` means: * Starting in the same package that this module (the file `app/main.py`) lives in (the directory `app/`)... * look for the subpackage `routers` (the directory at `app/routers/`)... * and from it, import the submodule `items` (the file at `app/routers/items.py`) and `users` (the file at `app/routers/users.py`)...
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
```Python hl_lines="20-27" {!> ../../../docs_src/schema_extra_example/tutorial003.py!} ``` ### Example in the docs UI With any of the methods above it would look like this in the `/docs`: <img src="/img/tutorial/body-fields/image01.png"> ### `Body` with multiple `examples` You can of course also pass multiple `examples`: === "Python 3.10+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
So, the interactive docs will have all the information from these dependencies too: <img src="/img/tutorial/dependencies/image01.png"> ## Simple usage If you look at it, *path operation functions* are declared to be used whenever a *path* and *operation* matches, and then **FastAPI** takes care of calling the function with the correct parameters, extracting the data from the request.
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) -
docs/en/docs/advanced/custom-response.md
The same example from above, returning an `HTMLResponse`, could look like: ```Python hl_lines="2 7 19" {!../../../docs_src/custom_response/tutorial003.py!} ``` !!! warning
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)