I'm trying to use cUrl to get the contains of of a web page; but I failed because my request is automatically redirected to a sign-in page; Using the -u parameter doesn't resolve my problem.
Next the HTML listing of the sign-in page:
<ul class="form-list">
<li>
<label for="inputEmailLogin">E-mail</label>
<abbr class="req">*</abbr>
<div class="form-control">
<input autofocus="autofocus" id="inputEmailLogin" name="user[email]" size="30" type="email" value="">
</div>
</li>
<li>
<label for="inputPasswordLogin">Password</label>
<abbr class="req">*</abbr>
<div class="form-control">
<input id="inputPasswordLogin" name="user[password]" size="30" type="password">
</div>
</li>
</ul>
How can I provide my credentials so I can get the contains of the page?