Coding task · Python course · Module 6: Async and FastAPI

Protected endpoint

Create an endpoint protected by a JWT token.

Task

Write a GET /me endpoint that requires a JWT token and returns the current user's data.