I am trying to post a dimple FORM in HTML as mentioned below:
<form name="myform" method="post" action="Home.html" onsubmit="return validateform()" >
<label class="labelText">
Name: </label>
<input class="textBoxName" type="text" name="name"><br/>
<label class="labelTextPassword"> <br/>
Password:</label>
<input type="password" name="password"><br/>
<input class="loginButton" type="submit" value="Login">
</form>
Its working successfully on my SYSTEM. but when I hosted my site on Azure, after validating name and password its not re-directing to "Home" Page. It shows error as:
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used. (Error: 405)
Can please anyone have any idea about this issue?
405 means Method not allowed. It means that Home.html cannot accept a POST request So try using the get method while sending the data and it would work.