I am having a login.html for which I use python for validation purpose and I am using mongodb for storing the values. I have created my API using EVE REST Framework. I want to know how to run the html file so that i could validate the user. The python file is running on http://127.0.0.1:5000
Thanks in advance.
Have a look at this (search for
flask login view
) This should help you create/login
endpoint. From your login.html, you need to call this URL with appropriate data (username and password is used in the example)