title: Google Apps Script login to website with HTTP request
body: <p>I have a spreadsheet on my Google Drive and I want to download a CSV from another website and put it into my spreadsheet. The problem is that I have to login to the website first, so I need to use some HTTP request to do that. </p>
  
  <p>I have found <a href="https://developers.google.com/apps-script/reference/url-fetch/o-auth-config" rel="noreferrer">this</a> site and <a href="https://gist.github.com/roblg/2400902" rel="noreferrer">this</a>. If either of these sites has the answer on it, then I clearly don't understand them enough to figure it out. Could someone help me figure this out? I feel that the second site is especially close to what I need, but I don't understand what it is doing.</p>
  
  <p>To clarify again, I want to login with an HTTP request and then make a call to the same website with a different URL that is the call to get the CSV file. </p>