Modules

filter

 

Objects/Functions

module (N/https)

SuiteScript 2.0

https.ServerResponse

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=https.ServerResponse for more information.

N/https Module
https.ServerResponse
Object Description: The response from an HTTPS server (e.g., Suitelet or RESTlet) to an HTTPS request from a server, such as a user event script. For a complete list of this object’s methods and properties, see ServerResponse Object Members.
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/https Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=https.ServerResponse

Example:

// Code Example 1
// Add additional code
//...
serverResponse.addHeader({
name: 'Accept-Language',
value: 'en-us',
});
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4567653583.html