2017-05-13 11 views

答えて

3

ここでのRestletにGETを行う最も簡単な方法です:

var headers = {}; 
headers["Authorization"] = 'NLAuth nlauth_account=TSTDRVXXXXX, [email protected], nlauth_signature=XXXXXXX, nlauth_role=3'; 
headers["contentType"] = 'application/json'; 

var url = 'https://rest.na1.netsuite.com/app/site/hosting/restlet.nl?script=xxxx&deploy=xxx'; 

var response = nlapiRequestURL(url, null, headers); 
関連する問題