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

SOAPResponseV2 - getHeader(String name)

SOAPResponseV2 - getHeader(String name)

Get the value for a specified HTTP header.

Table 1. Parameters
Name Type Description
name String The name of the header that you want the value for, such as Set-Cookie.
Table 2. Returns
Type Description
String The value of the specified header.
var headerVal = response.getHeader("Accept");