Brendan Vanous
started a topic on Sat, 26 September 2015 at 3:03 PM
Question from a developer:
Since the JSON being sent and received is just text, and text compresses well, is there a way to optimize my packets using zip?
Brendan Vanous
started a topic on Sat, 26 September 2015 at 3:03 PM
Question from a developer:
Since the JSON being sent and received is just text, and text compresses well, is there a way to optimize my packets using zip?
Best Answer
Brendan Vanous said on Sat, 26 September 2015 at 3:04 PM
Yes, we support gzip encoding for both requests and responses. To receive gzipped responses, add the following request header to your call:
Accept-Encoding: gzip
To use gzipped content in your requests, add the following request header and gzip the request data:
Content-Encoding: gzip
2 People are following this question.