How to cURL this HTML form?

I am trying to automate the login process into my dome’s WLAN. The login form looks like this: <form method=”post” action=”https://10.70.70.70/user/user_login_auth.jsp”> <input align=”center” type=”text” name=”username” placeholder=”Username” id=”username” maxLength=”256″ AUTOCOMPLETE=OFF /> <input align=”center” type=”password” name=”password” placeholder=”Password” id=”password” maxLength=”64″ AUTOCOMPLETE=OFF /> <input type=”submit” class=”submit” name=”ok” value=”Log In” /> </form> I only have to enter my user name…

Details