setResponseHeader method: ServiceAPI class

Syntax

setResponseHeader(header_name,header_value)

Description

Use this method to set the response header value based on header defined on the application service.

Parameters

Parameter Description

header_name

Specifies the name of the response header (as a String).

header_value

Specifies the value of the response header (as a String).

Returns

None.

Example

%This.ServiceAPI.setResponseHeader("Language", “eng”);