Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods = ['GET','POST'] issue #35

Open
THC915 opened this issue Jan 18, 2022 · 2 comments
Open

Methods = ['GET','POST'] issue #35

THC915 opened this issue Jan 18, 2022 · 2 comments

Comments

@THC915
Copy link

THC915 commented Jan 18, 2022

Im having issues below. It's about when I type the ,methods=['GET", 'POST'] behind @auth.route (pic.1). The program cannot run and the website occur like this (pic.2). Have anyone met this issue before?

Capture

Capture1

@THC915 THC915 changed the title Traceback (most recent call) Methods = ['GET','POST'] issue Jan 18, 2022
@ASHISHKUMAR2411
Copy link

First of all, where you have imported methods from the crypt, methods is a typo, it should be method without s,
and it seems like you have not used it also, there is no need for that if you don't need hashing, it is used for hashing,
what it seems to me, correct me if I am wrong, are you trying to use crypt methods in route()'s methods which are two different things, you can try removing it.
You don't have to import methods from crypt, if you don't need it,
And yes crypt can't be used in Windows, as it is because crypt is a Unix Specific Service.
You can use other methods for hashing, like passlib etc.
If you want to know more about the error you can go to this https://stackoverflow.com/questions/19877867/using-the-crypt-module-in-windows

@bibinthomas123
Copy link
Contributor

Remove the crypt model from the import section which is causing this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants