I need your help with the issue which is bugging me since a couple hours. I part of my code just doesn't want to run for me:
var options = {'muteHttpExceptions': true, 'AllowAutoRedirect': true};
var url = "https://www.auftrag.at//tenders.aspx"
var firstResponse = UrlFetchApp.fetch(url, options);
Logger.log(firstResponse.getContentText());
if(firstResponse.getResponseCode() == 200){....
This always delivers the following response (Code 302):
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/tenders.aspx?AspxAutoDetectCookieSupport=1">here</a>.</h2>
</body></html>
Can you please help me in fixing this? Thank you