Response.content

Property Description

The content of the RESTlet HTTP reponse.

Type

string (read-only)

Module

N/scriptTypes/restlet Module

Parent Object

restlet.Response

Sibling Object Members

Response Object Members

Since

2024.1

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/scriptTypes/restlet Module Script Sample.

            // Add additional code
...
log.debug({
    title: 'Response Content: ',
    details: response.content
});
...
// Add additional code 

          

Related Topics

General Notices