Modules

filter

 

Objects/Functions

module (N/http)

SuiteScript 2.0

http.ClientResponse

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

N/http Module
http.ClientResponse
Object Description: The response from the server to an HTTP request (e.g., http.get(options)) from a client (i.e., browser). This is the return type for http.delete(options), http.get(options), http.post(options), http.put(options), http.request(options), and corresponding promise methods) when those methods are called from a client (i.e., browser) This object is read-only. For a complete list of this object’s properties, see ClientResponse Object Members.
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/http Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=http.ClientResponse

Example:

// Code Example 1
// Add additional code
//...
var clientResponse = http.get({
url: 'http://www.google.com'
});
//...
// Add additional code

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