How are ya?
We got a project here, that must to be easy but is driving us crazy!
I have a login page, with two fields: username and password, we also have a webservice with a function called: FazerLogin(). That function made all the login job, validation, return and redirect to homepage.
My problem is:
We were using a simple HTML login page, two imput text and a send button, on action="" in tag, we put the webservice address, like on the example:
<form id="frmConnect" action="../../Services/wsSetup.asmx/Instalar" method="post" enctype="multipart/form-data">
<table>
<tr>
<td>
<input type="text" id="txtConnectionString" name="txtConnectionString" />
<input type="submit" id="btnSubmit" name="btnSubmit" title="Submit" value="Submit" />
</td>
</tr>
</table>
</form>
Now we are changing the system to Angular JS, and all I need to know is: How to make the form send the login and password information from this two to my webservice using http.post.
If you need any information, please ask me.
Thanks in advance!