How to decompress base64 zlib payload
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 02:48 AM
We are working on integration where the payload that we are receiving through GET method is base64 encoded, zlib compressed data. We need a way to decode this to show data in the readable/XML format.
tried in background script :
var base64Data = GlideStringUtil.base64Decode(my_string);
var data = base64Data();
gs.print(data);
the printed data is not in readable/XML format.
not sure how to decompress zlib. Any help is appreciated
0 REPLIES 0