4
誰かがSuiteScript 2.0相当品を知っていますか?nlapiRequestURL()に相当するSuiteScript 2.0は何ですか?
nlapiRequestURL(url, postdata, headers, httpMethod)
誰かがSuiteScript 2.0相当品を知っていますか?nlapiRequestURL()に相当するSuiteScript 2.0は何ですか?
nlapiRequestURL(url, postdata, headers, httpMethod)
http
とhttps
モジュールはnlapiRequestURL()
HTTP簡単な例
var response = http.get({
url: 'http://www.google.com',
headers: headers
});
var response = https.post({
url: 'http://www.google.com',
body: myPostDataObj,
headers: headers
});
HTTPS例の等価である
var response = https.get({
url: url,
headers: headers
});