79337357

Date: 2025-01-07 21:18:10
Score: 3
Natty:
Report link

Turns out that Starlette's url_for looks for the Route name, which is by default the name of the endpoint provided when making the Route object. In this case, it would be get_token, not token

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: EntangledLabs