title: How do I use libcurl to login to a secure website and get at the html behind the login
body: <p>I was wondering if you could help me work through accessing the html behind a login page using C and libcurl.</p>
  <p>Specific Example:</p>
  <p>The website I'm trying to access is <a href="https://onlineservices.ubs.com/olsauth/ex/pbl/ubso/dl" rel="nofollow noreferrer">https://onlineservices.ubs.com/olsauth/ex/pbl/ubso/dl</a></p>
  <p>Is it possible to do something like this?</p>
  <p>The problem is that we have a lot of clients each of which has a separate login. We need to get data from each of their accounts every day. It would be really slick if we could write something in C to do this and save all the pertinent data into a file. (like the values of the accounts and positions which I can parse from the html)</p>
  <p>What do you guys think? Is this possible and could you help point me in the right direction with some examples, etc...?</p>