I have Tried from google script but getting error:
'USER_ERROR error message:No Authorization header'
var url = 'https://debugger.na1.netsuite.com/app/site/hosting/restlet.nl?script=107&deploy=1';
var header = {
contentType: 'application/json',
Authorization: 'NLAuth nlauth_account=TSTDRVXXXXX, nlauth_email=xxx@xxx.com, nlauth_signature=XXXXXXX, nlauth_role=3',
method: 'GET',
muteHttpExceptions: true
};
var response = UrlFetchApp.fetch(url, header);