http.ServerRequest

Note:

The content in this help topic pertains to SuiteScript 2.0.

Object Description

The HTTP request information set to an HTTP server. For example, a request received by a Suitelet or RESTlet.

This object is read-only.

For a complete list of this object’s methods and properties, see ServerRequest Object Members.

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/http Module

Since

2015.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/http Module Script Samples.

          // Add additional code 
...
serverRequest.getLineCount({
    group: 'sublistId'
});
...
// Add additional code 

        

Related Topics

N/http Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices