Skip to content

Starlette Basic Auth example refuses POST method? #1805

Answered by Kludex
nickolas1969 asked this question in Q&A
Discussion options

You must be logged in to vote

Just change this line:

routes = [
    Route("/", endpoint=homepage, methods=["POST"])
]

Replies: 1 comment 1 reply

Comment options

Kludex
Aug 11, 2022
Maintainer Sponsor

You must be logged in to vote
1 reply
@nickolas1969
Comment options

Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants