Handling compressed data

To handle compressed data in the orchestrations which use OData activities, perform the following actions:

  1. Select the Use Compression/Depression check box in the Configure panel of the Receive Request activity.
  2. Select the Use Compression/Depression check box in the Configure panel of the Send Response activity.
  3. 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.
  4. 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.