flask-security
flask-security copied to clipboard
Where is the details documentation to implement listed feature.
How can I build rest api to reset password, I don't want any form or template.
Forms do not have to be rendered in HTML. They are used for validation and format. The function you are asking about will take a json object. If you provided the appropriately formatted json object to the endpoint in question it should work just fine. This is not a rest based library so there is not a formal api, however it supports json requests and responses.
Hmm.. well on further examination that view does not accept/respond in json or HTML. It requires it to be done only in HTML. My apologies the rest of the views do accept json and respond with json however this one does not. This functionality could be added I presume if you wanted to follow the code style and submit a pull request.