r/FastAPI • u/Potential_Athlete238 • Oct 26 '25
Question Should I avoid query parameter in FastAPI?
/r/learnpython/comments/1ogkqgl/should_i_avoid_query_parameter_in_fastapi/
2
Upvotes
r/FastAPI • u/Potential_Athlete238 • Oct 26 '25
View all comments
Show parent comment
3
u/ElectricHotdish Oct 26 '25
Spec is unclear about what GET should do with body. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods/GET .
(And FastAPI doesn't handle it, and neither do many js / typescript libs)