Hi, I am using getwebrequest to fetch data from a web server. The payload I get in the response is gzipped and then base 64 encoded. Is there any easy way to decode and unzip the payload in CIQ?
TIA
/Fredrik
Hi, I am using getwebrequest to fetch data from a web server. The payload I get in the response is gzipped and then base 64 encoded. Is there any easy way to decode and unzip the payload in CIQ?
TIA
/Fredrik
I have a bunch of tools I have built that I am going to make public, for use by the CIQ developer community.
I am currently in the process of detaching functionality and code from various projects. Some of this tooling code is in barrels (or should be) for on device use and some is on a server for use by the device via requests using Communications.makeWebRequest(). One of those is a simple proxy for an endpoint, that would likely accomplish what you need. But things likely won't be ready for another week or two as I need to get some security and processes in place to prevent bad actors from abusing the API endpoints for nefarious purposes.
But, in the meantime, have you tried making the request with the following header (which "should" indicate to the server that you don't support any compression):
Accept-Encoding: identity
Hi and thank you for responding. Your project sounds very interesting, please keep me posted. I will try your suggestion to see if the server acts on it, but I doubt it unfortunately.