- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for url (0.13 sec)
-
docs/de/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` Die entsprechende *Pfadoperation* der FastAPI-API könnte wie folgt aussehen: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` Sehen Sie sich die Ähnlichkeiten in `requests.get(...)` und `@app.get(...)` an.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:28 GMT 2024 - 26.7K 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 Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/uk/docs/alternatives.md
Використовувати його дуже просто. Наприклад, щоб виконати запит `GET`, ви повинні написати: ```Python response = requests.get("http://example.com/some/url") ``` Відповідна операція *роуту* API FastAPI може виглядати так: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` Зверніть увагу на схожість у `requests.get(...)` і `@app.get(...)`.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 38.2K bytes - Viewed (0)