I am writing a script and wanted to read the content from the URL request.
header['Content-Type']='text/xml'; var apiURL='https://system.na2.netsuite.com/app/setup/upload/csv/csvstatus.nl?XML=T'; var response=https.get({ url:apiURL, headers:header, }); var newSFID=response.body; log.debug("XML",a);
But its not reading the content instead of this is going to login page and loggin the initial login page. any idea how to read ?