Setting Data Compression for Consumer Application Service

REST consumer transactions are sent uncompressed by default. In order to send data compressed, the developer should set the following on the HTTP Header Page of the Application Service:

Header Type: Request

Property Name: sendCompressed

Value: Y

Alternatively, the developer can set this option via PeopleCode:

&ServiceAPI.setRequestHeader("sendUncompressed", N");