Open LAMaglan opened 5 months ago
Revisit at later date. Changing to POST requires some changing of the code, more than just
@app.get
to @app.post
Possible that one part is to switch templates.TemplateResponse()
to RedirectResponse
(from starlette.responses)
Although working, It is possible that it makes more "sense "for
battle
andtypes
endpoints to be POST requests (i.e. app.post) than GET requests. Investigate, if refactoring, make necessary updates