I want to design a html form in python
- by VaIbHaV-JaIn
when user will enter details in the text box on the html from
<h1>Please enter new password</h1>
<form method="POST" enctype="application/json action="uid">
Password<input name="passwd"type="password" /><br>
Retype Password<input name="repasswd" type="password" /><br>
<input type="Submit" />
</form>
</body>
i want to post the data in json format through http post request and also i want to set
content-type = application/json