Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON | 2.1.0 |
Sometimes while receiving response from REST Service, multiple cookies are to be received by the Invoke REST API client. In this scenario, REST Plugin shows only single cookie in the response as REST plugin does not directly support multiple cookies in the response.
If we set property bw.plugin.http.protocol.single-cookie-header=true, then plugin allows receiving of multiple cookies in the header with all name value pairs.
Steps to fetch multiple cookies in response of Invoke REST API Activity: 1. Configure Invoke REST API activity as per your request. 2. Go to Output Editor tab-> Set Cookie: Set cardinality as repeating* 3. Go to Designer.tra and add below property: "bw.plugin.http.protocol.single-cookie-header=true" 4. Restart the Designer and test the application.