<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to decompress base64 zlib payload in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-decompress-base64-zlib-payload/m-p/2836649#M1086728</link>
    <description>&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible by utilizing the MID Server capabilities i.e. to make MIDServer do the bidding on behalf of ServiceNow. You can use the flow designer to talk to MIDServer and decompress the zlib files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Divya Mishra&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 12:16:56 GMT</pubDate>
    <dc:creator>divya mishra</dc:creator>
    <dc:date>2024-02-22T12:16:56Z</dc:date>
    <item>
      <title>How to decompress base64 zlib payload</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-decompress-base64-zlib-payload/m-p/2831910#M1085255</link>
      <description>&lt;P&gt;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&amp;nbsp; format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;tried in background script :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;var base64Data = GlideStringUtil.base64Decode(my_string);&lt;BR /&gt;var data = base64Data();&lt;BR /&gt;gs.print(data);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;the printed data is not in readable/XML format.&lt;BR /&gt;not sure how to decompress zlib. Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 11:02:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-decompress-base64-zlib-payload/m-p/2831910#M1085255</guid>
      <dc:creator>Pooja</dc:creator>
      <dc:date>2024-02-19T11:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to decompress base64 zlib payload</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-decompress-base64-zlib-payload/m-p/2836649#M1086728</link>
      <description>&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible by utilizing the MID Server capabilities i.e. to make MIDServer do the bidding on behalf of ServiceNow. You can use the flow designer to talk to MIDServer and decompress the zlib files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Divya Mishra&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 12:16:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-decompress-base64-zlib-payload/m-p/2836649#M1086728</guid>
      <dc:creator>divya mishra</dc:creator>
      <dc:date>2024-02-22T12:16:56Z</dc:date>
    </item>
  </channel>
</rss>

