Connectors

Connectors

Decoding gzip response data using Javascript.

Has anyone built a custom connector in the DOMO IDE where the response data from the API was encoded with the gzip compression algorithm? Is there a way to decode the gzip algorithm in the DOMO IDE? Thanks.

Tagged:

Best Answer

  • Coach
    Answer ✓

    There isn’t a simple way to ungzip the data coming back within the connector ide and domo doesn’t allow for external packages for security reasons. You’d likely need to write your own gzip function based off an existing gzip package

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**

Answers

  • Coach
    Answer ✓

    There isn’t a simple way to ungzip the data coming back within the connector ide and domo doesn’t allow for external packages for security reasons. You’d likely need to write your own gzip function based off an existing gzip package

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • Thank you Grant, considering how common gzip is used online, there should be built in functionality for this. Re-writing a decompression algorithm in JS is overkill.

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In