RestAPI SetResponseHeader
Use this command to set custom HTTP headers for a response. This command is useful when creating Solution-level REST APIs that may be called by third-party applications. For more information see "Providing REST APIs" in the Longview Integration Guide.
Syntax
RESTAPI SETRESPONSEHEADER HeaderName Value
where:
- HeaderName identifies the header to set.
- Value is the value associated with the specified header.
Syntax example:
RESTAPI SetResponseHeader content-type text/plain