http.ClientResponse
Object Description |
The response from the server to an HTTP request (for example, http.get(options)) from a client. 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. This object is read-only. |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2015.2 |
Syntax
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
...
var clientResponse = http.get({
url: 'http://www.google.com'
});
...
// Add additional code