RESTMessageV2 - setHttpMethod(String method)

The HTTP method this REST message performs, such as GET or PUT.

You must set an HTTP method when using the RESTMessageV2 - RESTMessageV2() constructor with no parameters.

Table 1. Parameters
Name Type Description
method String The HTTP method to perform.
Note: The PATCH method is not supported. Use PUT or POST instead.
Table 2. Returns
Type Description
var sm = new sn_ws.RESTMessageV2();