- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2018 02:28 PM
Hello all.
I am currently working on a third party integration using REST. The third party want to compress the messages to our ServiceNow instance using gzip. Is there a particular methodology I’ll need to use to decompress the message our end, or is this handled automatically?
Thank you.
Jamie
Solved! Go to Solution.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2018 01:08 PM
You can test it at your end by sending request to your endpoint by postman or rest api explorer with header
Content-Encoding as gzip
Hope this helps.
Regards
Ujjawal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2018 04:58 PM
It should be handled automatically as is documented for SOAP requests. Just add the HTTP Header:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2018 12:31 PM
Hello John
Thank you for your reply. That topic refers to SOAP rather than REST and the scenarios it covers are outbound messages, and responses to outbound messages. My query is about handling inbound REST messages, where we have no direct control over the header (as it would need to be set by the third party).
Jamie.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2018 12:53 PM
Hi Jamie,
I think servicenow will automatically accept according to encoding set by sender.
Are you facing any error while dealing with such requests?
Regards
Ujjawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2018 01:00 PM
Hello Ujjawal
Thanks for this advice. As yet, we haven't got to the stage where the third party has been able to send any test messages, but I wanted to pre-empt any difficulties. It sounds as though we may be OK. I'm expecting to receive some test messages early this coming week, so I will update this post with the results.
Jamie