Modules
Objects/Functions
SuiteScript 2.0
https.Method.{|DELETE,GET,HEAD,PUT,POST|}
N/https Module
https.Method
Enum Description:
Holds the string values for supported HTTPS requests. This enum is used to set the value of https.request(options) and ServerRequest.method.
Supported Script Types:
Server scripts
For more information, see SuiteScript 2.0 Script Types.
Module:
N/https Module
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=https.Method
Example:
// Code Example 1
// Add additional code
//...
var response = https.request({
method: https.Method.GET,
url: 'https://www.testwebsite.com'
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4567626997.html