Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

RESTMessageV2 - setMutualAuth(String profileName)

RESTMessageV2 - setMutualAuth(String profileName)

Set the mutual authentication protocol profile for the REST message.

Setting a protocol profile using this method overrides the protocol profile selected for the REST message record.

Table 1. Parameters
Name Type Description
profileName String The Name of the protocol profile to use for mutual authentication.
Table 2. Returns
Type Description
void
var sm = new sn_ws.RESTMessageV2("Yahoo Finance","get"); //Might throw exception if message doesn't exist or not visible due to scope.
sm.setMutualAuth("mutual_auth_profile_name");