- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 112 for johon (0.07 sec)
-
tests/test_schema_extra_examples.py
# TODO: enable these tests once/if Form(embed=False) is supported # TODO: In that case, define if File() should support example/examples too # @app.post("/form_example") # def form_example(firstname: str = Form(example="John")): # return firstname # @app.post("/form_examples") # def form_examples( # lastname: str = Form( # ..., # examples={
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 37.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/oauth2-jwt.md
/// <img src="https://fastapi.tiangolo.com/img/tutorial/security/image08.png"> 调用 `/users/me/` 端点,收到下面的响应: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false } ``` <img src="https://fastapi.tiangolo.com/img/tutorial/security/image09.png"> 打开浏览器的开发者工具,查看数据是怎么发送的,而且数据里只包含了令牌,只有验证用户的第一个请求才发送密码,并获取访问令牌,但之后不会再发送密码:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11K bytes - Viewed (0) -
docs/ko/docs/features.md
return user_id # Pydantic 모델 class User(BaseModel): id: int name: str joined: date ``` 위의 코드는 다음과 같이 사용될 수 있습니다: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info | "정보"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
Agora use a operação `GET` com o caminho `/users/me`. Você obterá os dados do seu usuário, como: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png">
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:17:45 UTC 2024 - 13.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/simple-oauth2.md
### 자신의 유저 데이터 가져오기 이제 `/users/me` 경로에 `GET` 작업을 진행합시다. 다음과 같은 사용자 데이터를 얻을 수 있습니다: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png"> 잠금 아이콘을 클릭하고 로그아웃한 다음 동일한 작업을 다시 시도하면 다음과 같은 HTTP 401 오류가 발생합니다. ```JSON
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/vi/docs/features.md
return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` Sau đó có thể được sử dụng: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/zh/docs/features.md
def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` 可以像这样来使用: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/ja/docs/features.md
return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` これは以下のように用いられます: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info | "情報"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 12.2K bytes - Viewed (0) -
docs/en/data/external_links.yml
on/tutorial-fastapi title: FastAPI Tutorial in Visual Studio Code - author: Apitally author_link: https://apitally.io link: https://blog.apitally.io/fastapi-application-monitoring-made-easy title: FastAPI application monitoring made easy - author: John Philip author_link: https://medium.com/@amjohnphilip link: https://python.plainenglish.io/building-a-restful-api-with-fastapi-secure-signup-and-login-functionality-included-45cdbcb36106 title: "Building a RESTful API with FastAPI: Secure Signup and...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 24 18:39:34 UTC 2024 - 22.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/oauth2-jwt.md
/// <img src="/img/tutorial/security/image08.png"> エンドポイント`/users/me/`を呼び出すと、次のようなレスポンスが得られます: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false } ``` <img src="/img/tutorial/security/image09.png"> 開発者ツールを開くと、送信されるデータにはトークンだけが含まれており、パスワードはユーザーを認証してアクセストークンを取得する最初のリクエストでのみ送信され、その後は送信されないことがわかります。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (1)