Handling compressed data
To handle compressed data in the orchestrations which use OData activities, perform the following actions:
- Select the Use Compression/Depression check box in the Configure panel of the Receive Request activity.
- Select the Use Compression/Depression check box in the Configure panel of the Send Response activity.
- When sending OData request to an API with the data is of compressed format in the request body, set the Content-Encoding header with value as gzip in the request.
- When sending OData request to an API and if the response data need to be in compressed format, set Accept-Encoding header with value as gzip in the request.
Note:
- If the Content-Encoding or Accept-Encoding headers are not present, the data is considered as not compressed.
- Only gzip format is supported for data compression.